PHP code example of exolnet / laravel-backup-database

1. Go to this page and download the library: Download exolnet/laravel-backup-database 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/ */

    

exolnet / laravel-backup-database example snippets


Exolnet\Backup\BackupServiceProvider::class
bash
php artisan backup:database
bash
php artisan backup:database --path=/path/to/the/backup/directory
bash
php artisan backup:database --connection=sqlite