blue32a/laravel-intervention-image is a Laravel package for bind intervention image to laravel..
It currently has 1 GitHub stars and 18 downloads on Packagist (latest version v1.0.0).
Install it with composer require blue32a/laravel-intervention-image.
Discover more Laravel packages by blue32a
or browse all Laravel packages to compare alternatives.
Last updated
Bind Intervention Image to Laravel.
Install by running the following command.
composer require blue32a/laravel-intervention-image
Publish the configuration file by running the following command.
php artisan vendor:publish --tag=intervention-image
Register a service provider in the config/app.php configuration file.
'providers' => ServiceProvider::defaultProviders()->merge([
Blue32a\Laravel\Intervention\Image\ImageServiceProvider::class,
// ...
])->toArray(),
The manager instance is injected as shown in the following code.
namespace App\Http\Controllers;
use Intervention\Image\ImageManager;
class ImageController extends Controller
{
public function index(ImageManager $manager)
{
// ...
}
}