Photo gallery tool for Laravel Nova.
You can install the package in to a Laravel app that uses Nova via composer:
composer require ericlagarda/nova-gallery
Then, register the tool in NovaServiceProvider.php
use EricLagarda\NovaGallery\NovaGallery;
public function tools()
{
return [
// ...
new NovaGallery
];
}
Then, publish the migration and migrate the tables:
php artisan vendor:publish --tag=gallery-migration
php artisan migrate
And set the Gallery Storage disk on your env file:
GALLERY_DISK=my_custom_storage
You can create albums and add photos into the albums. You can:
- Change the name of each photo
- Change the description of each photo
- Reorder photos