ericlagarda/nova-gallery

A Laravel Nova tool.

Installs: 3 141

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 3

Forks: 6

Open Issues: 4

Language:Vue

v1.3 2019-04-25 06:37 UTC

This package is auto-updated.

Last update: 2024-10-25 19:22:11 UTC


README

Photo gallery tool for Laravel Nova.

preview

Installation

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

Use

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