ericlagarda/nova-gallery

A Laravel Nova tool.

Installs: 898

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 6

Open Issues: 4

Language:Vue

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

This package is auto-updated.

Last update: 2020-06-25 09:27:23 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