PHPackages                             league/glide - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. league/glide

ActiveLibrary[Image &amp; Media](/categories/media)

league/glide
============

Wonderfully easy on-demand image manipulation library with an HTTP based API.

3.2.0(2mo ago)2.6k51.2M—1.7%205[42 issues](https://github.com/thephpleague/glide/issues)[1 PRs](https://github.com/thephpleague/glide/pulls)20MITPHPPHP ^8.1CI passing

Since Jan 6Pushed 1mo ago60 watchersCompare

[ Source](https://github.com/thephpleague/glide)[ Packagist](https://packagist.org/packages/league/glide)[ Docs](http://glide.thephpleague.com)[ RSS](/packages/league-glide/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (51)Used By (20)

Glide
=====

[](#glide)

[![Latest Version](https://camo.githubusercontent.com/926d608479e9b744fbf4305d99c3c871e4985939f5df049718712c134751ad0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f676c6964652e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/glide/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/glide/blob/master/LICENSE)[![Build Status](https://camo.githubusercontent.com/16c449a26aec4dc10296e33a8cf2b2e49d1b9ef3994df31d7fee708398377542/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7468657068706c65616775652f676c6964652f746573742e79616d6c3f7374796c653d666c61742d737175617265266272616e63683d6d6173746572)](https://github.com/thephpleague/glide/actions/workflows/test.yaml?query=branch%3Amaster++)[![Code Coverage](https://camo.githubusercontent.com/776c39a295cb8bff0d4c4622796595aab1290dc6a6eaad7a87ae5658113d8225/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7468657068706c65616775652f676c6964652f6d61737465723f7374796c653d666c61742d737175617265)](https://app.codecov.io/gh/thephpleague/glide/)[![Total Downloads](https://camo.githubusercontent.com/1c9f5035c1b5959f1faaf86e640ee87ab1ef2df0dc71649372e86d063e137669/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f676c6964652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/glide)[![Source Code](https://camo.githubusercontent.com/4d761832f4791ecb48080e7116f348a129334316270f8ff34d1d67f885f8c81b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d7468657068706c65616775652f676c6964652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/glide)[![Author](https://camo.githubusercontent.com/681700ed81f8ce87b1a35742c5f072538001795e034c2fce30f8a2d15eb1472f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407265696e696e6b2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/reinink)[![Author](https://camo.githubusercontent.com/4015119ac344281087e8a14c8520190d30950d96d310467bd293191764007590/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407469746f75616e67616c6f70696e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/titouangalopin)

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](http://www.imgix.com/) and [Cloudinary](http://cloudinary.com/). Glide leverages powerful libraries like [Intervention Image](http://image.intervention.io/) (for image handling and manipulation) and [Flysystem](http://flysystem.thephpleague.com/) (for file system abstraction).

[![© Photo Joel Reynolds](/docs/images/kayaks-w-1000.jpg?w=1000)](/docs/images/kayaks-w-1000.jpg?w=1000)

> © Photo Joel Reynolds

Highlights
----------

[](#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 the [GD](http://php.net/manual/en/book.image.php) library, the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension and [libvips](https://github.com/libvips/php-vips) 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](http://flysystem.thephpleague.com/) library.
- Powered by the battle tested [Intervention Image](http://image.intervention.io/) image handling and manipulation library.
- Framework-agnostic, will work with any project.
- Composer ready and PSR-2 compliant.

Documentation
-------------

[](#documentation)

Full documentation can be found at [glide.thephpleague.com](http://glide.thephpleague.com).

Installation
------------

[](#installation)

Glide is available via Composer:

```
$ composer require league/glide
```

Testing
-------

[](#testing)

Glide has a [PHPUnit](https://phpunit.de/) test suite. To run the tests, run the following command from the project folder:

```
$ phpunit
```

Contributing
------------

[](#contributing)

Contributions are welcome and will be fully credited. Please see [CONTRIBUTING](https://github.com/thephpleague/glide/blob/master/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jonathan Reinink](https://github.com/reinink)
- [All Contributors](https://github.com/thephpleague/glide/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/thephpleague/glide/blob/master/LICENSE) for more information.

###  Health Score

79

—

ExcellentBetter than 100% of packages

Maintenance87

Actively maintained with recent releases

Popularity78

Solid adoption and visibility

Community53

Growing community involvement

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Total

48

Last Release

88d ago

Major Versions

1.7.1 → 2.2.32023-02-14

1.7.2 → 2.2.42023-04-18

1.x-dev → 3.0.0-beta12024-01-30

2.3.1 → 3.0.0-RC22025-01-20

2.x-dev → 3.0.02025-03-21

PHP version history (6 changes)0.1.0PHP &gt;=5.4

1.0.0PHP ^5.4 | ^7.0

1.5.0PHP ^5.5 | ^7.0

1.6.0PHP ^7.2

1.7.0PHP ^7.2|^8.0

3.0.0-beta1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf5cd47f55eb8a801bab7ce80901bada792f1d5fef54678852b118e189e92606?d=identicon)[tgalopin](/maintainers/tgalopin)

![](https://www.gravatar.com/avatar/eb6fefdc879af2c2166f13dd63ef8a33f88f58b642b67077df7ccb68e975afa4?d=identicon)[reinink](/maintainers/reinink)

---

Top Contributors

[![reinink](https://avatars.githubusercontent.com/u/882133?v=4)](https://github.com/reinink "reinink (233 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (137 commits)")[![Art4](https://avatars.githubusercontent.com/u/2162994?v=4)](https://github.com/Art4 "Art4 (47 commits)")[![konnng-dev](https://avatars.githubusercontent.com/u/141583458?v=4)](https://github.com/konnng-dev "konnng-dev (29 commits)")[![deluxetom](https://avatars.githubusercontent.com/u/6439307?v=4)](https://github.com/deluxetom "deluxetom (20 commits)")[![jasonvarga](https://avatars.githubusercontent.com/u/105211?v=4)](https://github.com/jasonvarga "jasonvarga (14 commits)")[![tgalopin](https://avatars.githubusercontent.com/u/1651494?v=4)](https://github.com/tgalopin "tgalopin (13 commits)")[![ElGigi](https://avatars.githubusercontent.com/u/18268216?v=4)](https://github.com/ElGigi "ElGigi (10 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (9 commits)")[![alexbilbie](https://avatars.githubusercontent.com/u/77991?v=4)](https://github.com/alexbilbie "alexbilbie (9 commits)")[![Lustmored](https://avatars.githubusercontent.com/u/2358046?v=4)](https://github.com/Lustmored "Lustmored (9 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (6 commits)")[![guillaume-sainthillier](https://avatars.githubusercontent.com/u/5052984?v=4)](https://github.com/guillaume-sainthillier "guillaume-sainthillier (5 commits)")[![pascalbaljet](https://avatars.githubusercontent.com/u/8403149?v=4)](https://github.com/pascalbaljet "pascalbaljet (4 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (4 commits)")[![Synchro](https://avatars.githubusercontent.com/u/81561?v=4)](https://github.com/Synchro "Synchro (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")[![h4cc](https://avatars.githubusercontent.com/u/2981491?v=4)](https://github.com/h4cc "h4cc (2 commits)")[![wakumaku](https://avatars.githubusercontent.com/u/938022?v=4)](https://github.com/wakumaku "wakumaku (2 commits)")[![ncla](https://avatars.githubusercontent.com/u/5507083?v=4)](https://github.com/ncla "ncla (2 commits)")

---

Tags

imageImageMagickgdimagickmanipulationprocessingleagueediting

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/league-glide/health.svg)

```
[![Health](https://phpackages.com/badges/league-glide/health.svg)](https://phpackages.com/packages/league-glide)
```

###  Alternatives

[admad/cakephp-glide

CakePHP plugin for using Glide image manipulation library.

34160.7k1](/packages/admad-cakephp-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[talesoft/phim

An image and color manipulation and processing library for PHP

2958.2k](/packages/talesoft-phim)[orbitale/imagemagick-php

A system that allows creating commands to send to the exec() function to use ImageMagick's powerful features.

43385.7k1](/packages/orbitale-imagemagick-php)[phpixie/image

PHPixie imageprocessing library

4756.5k6](/packages/phpixie-image)[thapp/jitimage

Just in time image manipulation.

997.5k1](/packages/thapp-jitimage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
