1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01:00

installation instructions

This commit is contained in:
Oliver Vogel 2013-01-19 19:39:12 +01:00
parent 2e705a23be
commit 421b9266ac

View File

@ -1,3 +1,40 @@
# Intervention Image Class
Image handling and manipulation
Image handling and manipulation. Made to work with **Laravel 4** but runs also standalone.
## Installation
You can install this Image class quick and easy with Composer.
Require the package via Composer in your `composer.json`.
"intervention/image": "dev-master"
Run Composer to update the new requirement.
$ composer update
The Image class are built to work with the Laravel 4 Framework. The integration is done in seconds.
Open your Laravel config file `config/app.php` and add the following lines.
In the `$providers` array add the service providers for this package.
'providers' => array(
...
'Intervention\Image\ImageServiceProvider'
),
Add the facade of this package to the `$aliases` array.
'aliases' => array(
...
'Image' => 'Intervention\Helper\Facades\Image',
),