PHP code example of spiral / snapshotter

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

    

spiral / snapshotter example snippets


'snapshots' => [
    'title' => 'Snapshots',
    '

$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\SnapshotterBootloader::class
]);

$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\FileHandlerBootloader::class
]);
//OR:
$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\AggregationHandlerBootloader::class
]);

//$this->container->bind(SnapshotInterface::class, Snapshotter\Debug\AggregatedSnapshot::class);