league / glide
Wonderfully easy on-demand image manipulation library with an HTTP based API.
Installs: 41 725 094
Dependents: 104
Suggesters: 8
Security: 0
Stars: 2 556
Watchers: 63
Forks: 201
Open Issues: 41
Requires
- php: ^8.1
- intervention/image: ^3.6
- league/flysystem: ^3.0
- psr/http-message: ^1.0|^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.48
- mockery/mockery: ^1.6
- phpunit/phpunit: ^10.5 || ^11.0
- dev-master
- 3.x-dev
- 3.0.0-RC1
- 3.0.0-beta2
- 3.0.0-beta1
- 2.3.1
- 2.3.0
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.x-dev
- 2.0.0
- 1.x-dev
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 0.3.x-dev
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.1
- 0.1.0
- dev-3.x-encoding-type
This package is auto-updated.
Last update: 2024-12-20 03:56:39 UTC
README
Glide is a wonderfully easy on-demand image manipulation library written in PHP. Its straightforward API is exposed via HTTP, similar to cloud image processing services like Imgix and Cloudinary. Glide leverages powerful libraries like Intervention Image (for image handling and manipulation) and Flysystem (for file system abstraction).
© Photo Joel Reynolds
Highlights
- Adjust, resize and add effects to images using a simple HTTP based API.
- Manipulated images are automatically cached and served with far-future expires headers.
- Create your own image processing server or integrate Glide directly into your app.
- Supports both the GD library and the Imagick PHP extension.
- Supports many response methods, including PSR-7, HttpFoundation and more.
- Ability to secure image URLs using HTTP signatures.
- Works with many different file systems, thanks to the Flysystem library.
- Powered by the battle tested Intervention Image image handling and manipulation library.
- Framework-agnostic, will work with any project.
- Composer ready and PSR-2 compliant.
Documentation
Full documentation can be found at glide.thephpleague.com.
Installation
Glide is available via Composer:
$ composer require league/glide
Testing
Glide has a PHPUnit test suite. To run the tests, run the following command from the project folder:
$ phpunit
Contributing
Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email jonathan@reinink.ca instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see LICENSE for more information.