PHP code example of salvatorecervone / backup-project

1. Go to this page and download the library: Download salvatorecervone/backup-project library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

salvatorecervone / backup-project example snippets


php artisan vendor:publish --tag="backup-project-config"

php artisan tink

php artisan backup-project:backup

App\Console\Kernel.php

 protected function schedule(Schedule $schedule)    {
    $schedule->command('backup-project:backup')->dailyAt('3:00')
}