Download the PHP package mrofi/laravel-glide without Composer
On this page you can find all versions of the php package mrofi/laravel-glide. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrofi/laravel-glide
More information about mrofi/laravel-glide
Files in mrofi/laravel-glide
Package laravel-glide
Short Description Easily convert images with Glide
License MIT
Homepage https://github.com/spatie/laravel-glide
Informations about the package laravel-glide
Easily convert images with Glide
This package provides an easy to use class to manipulate images. Under the hood it leverages Glide to perform the manipulations.
Here's an example of how the package can be used:
Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
Installation
You can install the package through Composer.
You must install this service provider.
This package also comes with a facade, which provides an easy way to generate images.
You can publish the config file of the package using artisan.
The config file looks like this:
Usage
Here's a quick example that shows how an image can be modified:
Take a look at Glide's image API to see which parameters you can pass to the modify
-method.
Testing
You can run the tests with:
Previous versions
Previous versions of this package had PHP 5.4 support and the ability to generate images on the fly from an url.
The previous versions are unsupported, but they should still work in your older projects.
Credits
- Freek Van der Herten
- All Contributors
About Spatie
Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
License
The MIT License (MIT). Please see LICENSE for more information.