-
Notifications
You must be signed in to change notification settings - Fork 80
Installation
David Mongeau-Petitpas edited this page Sep 22, 2015
·
3 revisions
1- Require the package via Composer in your composer.json
.
{
"require": {
"folklore/image": "0.2.*"
}
}
2- Run Composer to install or update the new requirement.
$ composer install
or
$ composer update
3- Add the service provider to your app/config/app.php
file
'Folklore\Image\ImageServiceProvider',
4- Add the facade to your app/config/app.php
file
'Image' => 'Folklore\Image\Facades\Image',
5- Publish the configuration file and public files
$ php artisan vendor:publish --provider="Folklore\Image\ImageServiceProvider"
6- Review the configuration file
app/config/image.php
1- Require the package via Composer in your composer.json
.
{
"require": {
"folklore/image": "0.1.*"
}
}
2- Run Composer to install or update the new requirement.
$ composer install
or
$ composer update
3- Add the service provider to your app/config/app.php
file
'Folklore\Image\ImageServiceProvider',
4- Add the facade to your app/config/app.php
file
'Image' => 'Folklore\Image\Facades\Image',
5- Publish the configuration file
$ php artisan config:publish folklore/laravel-image
6- Review the configuration file
app/config/image.php