PHPackages                             adamale/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. adamale/glide

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

adamale/glide
=============

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

1.6(5y ago)0661MITPHPPHP ^5.5 | ^7.0

Since Jan 6Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (24)Used By (1)

Glide
=====

[](#glide)

[![Author](https://camo.githubusercontent.com/681700ed81f8ce87b1a35742c5f072538001795e034c2fce30f8a2d15eb1472f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407265696e696e6b2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/reinink)[![Forked and expanded by](https://camo.githubusercontent.com/0abb399ed5cb3c354ecd335793a3ca5b12e4a5dca7200d634964f50bb7704f60/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406164616d616c652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/adamale)[![Source Code](https://camo.githubusercontent.com/9574b2a994bfdb01079590f0391308b77aaffd4e264a1e4cccbd62f3c200593f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6164616d616c652f676c6964652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/adamale/glide)[![Latest Version](https://camo.githubusercontent.com/2ab62186421ff69f6f456472d51327e695b2141d5018387f4fe77200b181e49b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6164616d616c652f676c6964652e7376673f7374796c653d666c61742d737175617265)](https://github.com/adamale/glide/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/adamale/glide/blob/master/LICENSE)[![Build Status](https://camo.githubusercontent.com/60f43863574f978826874904fba33cb66452af7646bd1020984994a798da7e7b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6164616d616c652f676c6964652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/adamale/glide)\[[![Total Downloads](https://camo.githubusercontent.com/4bbef75a6c94ae3d2334870b7ef4ee042bd5f08b14486f878259f3f59f7b07e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6164616d616c652f676c6964652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adamale/glide)

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](https://camo.githubusercontent.com/08cf9284afb3b07d0385b4224aed232df174400e7115041e49270730743e932b/68747470733a2f2f676c6964652e6865726f6b756170702e636f6d2f312e302f6b6179616b732e6a70673f773d31303030)](https://glide.herokuapp.com/1.0/kayaks.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 both the [GD](http://php.net/manual/en/book.image.php) library and the [Imagick](http://php.net/manual/en/book.imagick.php) 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 (except for the expanded parts) can be found at [glide.thephpleague.com](http://glide.thephpleague.com).

Expansion
---------

[](#expansion)

You can now keep the original image dimension (either width or height) when it is missing from the parameters by using od=1 parameter (*od* stands for *original dimension*). It is especially useful on cropping an image, because it lets you keep one dimension intact (default behaviour is to scale the missing dimension appropriately).

```
?w=100&od=1&fit=crop
```

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

[](#installation)

Glide is available via Composer:

```
$ composer require adamale/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/adamale/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)
- [Adam Aleksak](https://github.com/adamale)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 79.7% of commits — single point of failure

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 ~90 days

Recently: every ~211 days

Total

23

Last Release

2169d ago

Major Versions

0.3.5 → 1.0.02015-12-26

0.3.6 → 1.0.12016-06-13

1.5.0 → 2.0.x-dev2020-03-06

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

1.0.0PHP ^5.4 | ^7.0

1.5.0PHP ^5.5 | ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/14ad471421e8c060d0385a357eeb4342a76e9a85205c1111eaab684008d184a3?d=identicon)[adamale](/maintainers/adamale)

---

Top Contributors

[![reinink](https://avatars.githubusercontent.com/u/882133?v=4)](https://github.com/reinink "reinink (231 commits)")[![jasonvarga](https://avatars.githubusercontent.com/u/105211?v=4)](https://github.com/jasonvarga "jasonvarga (13 commits)")[![alexbilbie](https://avatars.githubusercontent.com/u/77991?v=4)](https://github.com/alexbilbie "alexbilbie (9 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (9 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (6 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (4 commits)")[![adamale](https://avatars.githubusercontent.com/u/4377422?v=4)](https://github.com/adamale "adamale (2 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)")[![javiereguiluz](https://avatars.githubusercontent.com/u/73419?v=4)](https://github.com/javiereguiluz "javiereguiluz (1 commits)")[![curtisgibby](https://avatars.githubusercontent.com/u/1086964?v=4)](https://github.com/curtisgibby "curtisgibby (1 commits)")[![jcarouth](https://avatars.githubusercontent.com/u/34648?v=4)](https://github.com/jcarouth "jcarouth (1 commits)")[![jmsfwk](https://avatars.githubusercontent.com/u/9892048?v=4)](https://github.com/jmsfwk "jmsfwk (1 commits)")[![juukie](https://avatars.githubusercontent.com/u/2678657?v=4)](https://github.com/juukie "juukie (1 commits)")[![MichaelGooden](https://avatars.githubusercontent.com/u/1275012?v=4)](https://github.com/MichaelGooden "MichaelGooden (1 commits)")[![bonzai](https://avatars.githubusercontent.com/u/98191?v=4)](https://github.com/bonzai "bonzai (1 commits)")[![stefanbraspenning](https://avatars.githubusercontent.com/u/5555517?v=4)](https://github.com/stefanbraspenning "stefanbraspenning (1 commits)")[![than](https://avatars.githubusercontent.com/u/510790?v=4)](https://github.com/than "than (1 commits)")[![edyan](https://avatars.githubusercontent.com/u/13624534?v=4)](https://github.com/edyan "edyan (1 commits)")

---

Tags

imageImageMagickgdimagickmanipulationprocessingleagueediting

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/glide

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

2.6k51.2M116](/packages/league-glide)[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

1496.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)

PHPackages © 2026

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