PHP code example of cytech-services / laravel-postgres-vacuum-analyze

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

    

cytech-services / laravel-postgres-vacuum-analyze example snippets


return [

    /**
     * The connections to use for the vacuum analyze command.
     */
    'connections' => [
        /**
         * The connection name.
         * By default, the connection name is the default postgres connection.
         */
        'pgsql' => [
            /**
             * The schema name.
             * By default, the schema name is the public schema.
             */
            'public' => [
                /**
                 * A array list of tables to ble or disable verbose logging.
    'log_verbose' => true,
];
bash
php artisan db:vacuum-analyze