2017 © Pedro PelĂĄez
 

library laravel-photogallery

A simple plugin for creating/editing/using photogalleries in a Laravel project

image

itestense/laravel-photogallery

A simple plugin for creating/editing/using photogalleries in a Laravel project

  • Monday, May 4, 2015
  • by axettone
  • Repository
  • 2 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

laravel-photogallery

Laravel Photogallery is an administrative interface for Laravel plus some useful modules that can be used in the frontend. You can upload images on the server, obtain thumbnails having different sizes and place them into galleries with a specific order., (*1)

  • Author: Paolo Niccolò Giubelli - ITestense SNC
  • Company Website: http://www.itestense.it

Warning!

This package is still in the early development stage, so please don't use it inproduction. Be patient for a while! :-) If you want to collaborate, you're welcome., (*2)

Prerequisites

You need php-gd module., (*3)

Dependencies

This module will also install intervention/image and illuminate/support, (*4)

Install

Composer

Simply add this line to composer.json:, (*5)

"itestense/laravel-photogallery":"*"

and run composer update. Then you need to register the service provider in config/app.php in the providers array., (*6)

'providers' => [
...
'Itestense\LaravelPhotogallery\LaravelPhotogalleryServiceProvider',
...
]

Assets

Publish the assets with:, (*7)

php artisan asset:publish itestense/laravel-photogallery

Configuration

Once the package is installed, publish the config file with:, (*8)

php artisan config:publish itestense/laravel-photogallery

Options

Below is a list of all the available options:, (*9)

Upload directory

The directory must exist, (*10)

...
'upload_dir'=>'/public/uploads/photos',
...

Route prefix

All plugins routes will prefixed with this string, (*11)

...
'route_prefix'=>'/admin/gallery',
...

Thumbnails

You can specify an arbitrary number of thumbnail formats, choosing maximum width (w), height (h) and compression quality (q), (*12)

...
'formats'=>[
    's1'=>['w'=>100,'h'=>null,'q'=>96],
    'big'=>['w'=>1024,'h'=>768,'q'=>100],
    ...
],
...

Last edit: Saturday, 02. May 2015 07:02PM, (*13)

The Versions

04/05 2015

dev-master

9999999-dev

A simple plugin for creating/editing/using photogalleries in a Laravel project

  Sources   Download

MIT

The Requires

 

by Paolo Niccolò Giubelli

30/04 2015

0.4

0.4.0.0

  Sources   Download

The Requires

 

by Paolo Niccolò Giubelli

30/04 2015

0.3

0.3.0.0

  Sources   Download

The Requires

 

by Paolo Niccolò Giubelli

30/04 2015

0.2

0.2.0.0

  Sources   Download

The Requires

 

by Paolo Niccolò Giubelli

29/04 2015

0.1

0.1.0.0

  Sources   Download

The Requires

 

by Paolo Niccolò Giubelli