PHPackages                             jancyril/glide-for-laravel - 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. jancyril/glide-for-laravel

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

jancyril/glide-for-laravel
==========================

A wrapper for League/Glide to easily manipulate images in Laravel 5

v1.0.2(9y ago)116MITPHPPHP ^7.0

Since May 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jancyril/glide-for-laravel)[ Packagist](https://packagist.org/packages/jancyril/glide-for-laravel)[ Docs](https://github.com/jancyril/glide-for-laravel)[ RSS](/packages/jancyril-glide-for-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (5)Used By (0)

Glide for Laravel
=================

[](#glide-for-laravel)

[![Build Status](https://camo.githubusercontent.com/d49d6d6399c62a525e2a9f77d9e67998b69a4d83e3cabdd346a5eb49e8de04cf/68747470733a2f2f7472617669732d63692e6f72672f6a616e637972696c2f676c6964652d666f722d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jancyril/glide-for-laravel)

A wrapper to easily use Glide in Laravel 5.

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

[](#installation)

Download via composer:

`composer require jancyril/glide-for-laravel`

Add the GlideServiceProvider to your config/app.php inside the providers array:

```
'providers' => [
    JanCyril\Glide\GlideServiceProvider::class,
];
```

Publish the config file for this package:

`php artisan vendor:publish --provider="JanCyril\Glide\GlideServiceProvider"`

Modify the values of your config/glide.php file to suit your needs.

Usage
-----

[](#usage)

Inject `JanCyril\Glide\Glide` in the class that will use it.

Resizing an image:

```
$this->glide->image($imagePath)
            ->resize(200,200)
            ->save($outputFile);
```

Adding a watermark to the image:

```
$this->glide->image($imagePath)
            ->addWatermark($watermarkImage)
            ->save($outputFile);
```

Manipulate image using available parameters from glide:

```
$parameters = [
    'w' => 200,
    'h' => 200,
    'fit' => fill,
];

$this->glide->image($imagePath)
            ->manipulate($parameters)
            ->save($outputFile);
```

To see all available parameters visit [Glide Page](http://glide.thephpleague.com/1.0/api/quick-reference/).

Dynamic image manipulation via route:

`http://localhost/image/sample_image.jpg?w=200`

You can pass parameters as query string to your URL.

The image segment in the URL can be changed in your config/glide.php.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

3345d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13625026?v=4)[JC Segubience](/maintainers/jancyril)[@jancyril](https://github.com/jancyril)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jancyril-glide-for-laravel/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13046.3M2.1k](/packages/illuminate-view)[illuminate/session

The Illuminate Session package.

9938.5M823](/packages/illuminate-session)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4923.6k5](/packages/ralphjsmit-laravel-glide)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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