sahib/elegan

This package is abandoned and no longer maintained. No replacement package was suggested.

Handle uploads and image resizing automatically.

1.7.2 2015-01-29 00:33 UTC

README

composer require sahib/elegan:~1.5

Add the following service providers to your config/app.php file:

'Sahib\Elegan\EleganServiceProvider',
'Laracasts\Flash\FlashServiceProvider',
'Intervention\Image\ImageServiceProvider',

Add the following aliases to your config/app.php file:

'Flash' => 'Laracasts\Flash\Flash',
'Image' => 'Intervention\Image\Facades\Image',

Publish configuration:

php artisan config:publish sahib/elegan

Publish views:

php artisan view:publish sahib/elegan

Create elegan files:

php artisan elegan:make <Resource> <namespace> [--path=""]