PHP code example of reedware / laravel-dump-to-server

1. Go to this page and download the library: Download reedware/laravel-dump-to-server 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/ */

    

reedware / laravel-dump-to-server example snippets


isDumpServerOnline() // Returns true/false
dumpToServer() // Performs a typical dump, but only when the dump server is online