PHP Classes

File: bin/backup

Recommend this page to a friend!
  Classes of DeGraciaMathieu  >  Laravel Forge Backup  >  bin/backup  >  Download  
File: bin/backup
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Forge Backup
Backup service that uses Laravel Forge
Author: By
Last change:
Date: 7 months ago
Size: 572 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

require __DIR__ . '/../vendor/autoload.php';

/*
|--------------------------------------------------------------------------
| Load .env file
|--------------------------------------------------------------------------
*/

Dotenv\Dotenv::createUnsafeImmutable(__DIR__ . '/../')->load();

/*
|--------------------------------------------------------------------------
| Create & Start Runner
|--------------------------------------------------------------------------
*/

$runner = new \App\Runner();

$exitCode = $runner->run();

exit(
$exitCode);

For more information send a message to info at phpclasses dot org.