PHP code example of ericlagarda / nova-gallery

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

    

ericlagarda / nova-gallery example snippets



use EricLagarda\NovaGallery\NovaGallery;

public function tools()
{
    return [
        // ...
 
        new NovaGallery
    ];
}
bash
php artisan vendor:publish --tag=gallery-migration
php artisan migrate