PHP code example of esplora / spire

1. Go to this page and download the library: Download esplora/spire 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/ */

    

esplora / spire example snippets


// Optimize SQLite database every minute,
// see https://www.sqlite.org/pragma.html#pragma_optimize
$schedule->command('sqlite:optimize')->everyMinute();
bash
php artisan sqlite:wal-enable
bash
php artisan sqlite:optimize
bash
php artisan sqlite:vacuum