egorryaroslavl/galleries

Galleries Version 2

1.0.1 2017-08-02 10:31 UTC

This package is auto-updated.

Last update: 2024-04-07 01:14:00 UTC


README

Installation

composer require "egorryaroslavl/galleries":"^1.0"

Then add ServiceProviders

  'providers' => [
    // ...
    Egorryaroslavl\Admin\AdminServiceProvider::class,
	Egorryaroslavl\Galleries\GalleriesServiceProvider::class,
    Collective\Html\HtmlServiceProvider::class,
    Intervention\Image\ImageServiceProvider::class,
    Barryvdh\Elfinder\ElfinderServiceProvider::class,
    // ...
  ],

and aliases

  'aliases' => [
    // ...
      'Form' => Collective\Html\FormFacade::class,
      'Html' => Collective\Html\HtmlFacade::class,
      'Image' => Intervention\Image\Facades\Image::class,
    // ...
  ],

and run

php artisan vendor:publish

And after all, run this...

php artisan migrate

And create direcories for icons -

  /public/upload/galleries/