PHP code example of weslinkde / laravel-postgres-tools

1. Go to this page and download the library: Download weslinkde/laravel-postgres-tools 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/ */

    

weslinkde / laravel-postgres-tools example snippets


return [
    /*
     * The name of the disk on which the snapshots are stored.
     */
    'disk' => 'snapshots',

    /*
     * The connection to be used to create snapshots. Set this to null
     * to use the default configured in `config/databases.php`
     */
    'default_connection' => 'pgsql',

    /*
     * The directory where temporary files will be stored.
     */
    'temporary_directory_path' => storage_path('app/laravel-db-snapshots/temp'),

    /*
     * Only these tables will be 
bash
php artisan vendor:publish --tag="laravel-postgres-tools-config"
bash
# Creates a snapshot named something like `2017-03-17 14:31`
php artisan weslink:snapshot:create