PHPackages                             antennaio/laravel-clyde - 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. [Caching](/categories/caching)
4. /
5. antennaio/laravel-clyde

ActiveLibrary[Caching](/categories/caching)

antennaio/laravel-clyde
=======================

Image uploads and manipulation for Laravel, a wrapper around Glide

v0.0.10(9y ago)292.6k1[1 issues](https://github.com/antennaio/laravel-clyde/issues)[1 PRs](https://github.com/antennaio/laravel-clyde/pulls)MITPHP

Since Jan 22Pushed 7y ago4 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (11)Used By (0)

Laravel Clyde
=============

[](#laravel-clyde)

*Image uploads and manipulation for Laravel, a wrapper around Glide*

You can use the package to upload your images to local filesystem or S3 and display them on your site in various sizes. Thanks to [Glide](http://glide.thephpleague.com/) all manipulated images will be cached and reserved on subsequent visits.

[![Clyde The Glide](https://camo.githubusercontent.com/6a24d36810fcc9037242da9b6923abf04521d6e2c154a5e5754827fd2fffcd4b/68747470733a2f2f73332d65752d776573742d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d636c7964652f436c7964652d447265786c65722e706e67 "Clyde The Glide")](https://camo.githubusercontent.com/6a24d36810fcc9037242da9b6923abf04521d6e2c154a5e5754827fd2fffcd4b/68747470733a2f2f73332d65752d776573742d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d636c7964652f436c7964652d447265786c65722e706e67)

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

[](#installation)

Install through composer:

```
composer require antennaio/laravel-clyde:~0.0.1

```

Add the service provider to config:

```
// config/app.php
'provider' => [
    ...
    Antennaio\Clyde\ClydeServiceProvider::class,
    ...
];

```

If you intend to use facades, install those as well:

```
// config/app.php
'aliases' => [
    ...
    'ClydeUpload' => Antennaio\Clyde\Facades\ClydeUpload::class,
    'ClydeImage' => Antennaio\Clyde\Facades\ClydeImage::class,
    ...
];

```

Publish configuration:

```
php artisan vendor:publish --provider="Antennaio\Clyde\ClydeServiceProvider"

```

Uploads
-------

[](#uploads)

You can use dependency injection or facades, it's up to you.

```
use Antennaio\Clyde\ClydeUpload;

...

protected $uploads;

public function __construct(ClydeUpload $uploads)
{
    $this->uploads = $uploads;
}

public function upload(Request $request)
{
    if ($request->hasFile('image')) {
        $filename = $this->uploads->upload($request->file('image'));
    }
}
```

```
use Antennaio\Clyde\Facades\ClydeUpload;

...

public function upload(Request $request)
{
    if ($request->hasFile('image')) {
        $filename = ClydeUpload::upload($request->file('image'));
    }
}
```

Each filename generated by Clyde is unique. Make sure to store the filename, so that you can display the image at a later time.

You can control the location of where the uploaded file will be saved by passing an additional argument to the `upload` method. Below is an example of how to save an image and keep its original name:

```
ClydeUpload::upload($request->file('image'), $request->file('image')->getClientOriginalName());
```

You may also use a closure to modify the file path:

```
ClydeUpload::upload($request->file('image'), function ($filename) {
    return 'profile-images'.DIRECTORY_SEPARATOR.$filename;
});
```

You can also check if an image already exists:

```
// returns true or false
ClydeUpload::exists('image.jpg');
```

Or delete a previously uploaded image:

```
ClydeUpload::delete('image.jpg');
```

Displaying images
-----------------

[](#displaying-images)

```

```

You can pass various image manipulations as the second parameter:

```

```

For the full list of available manipulations take a look at the Glide docs:

Additionally, you can setup presets and use them as a quicker way to apply manipulations to the images:

```
// config/clyde.php
'presets' => [
    [
        'thumbnail' => [
            'w' => 100,
            'h' => 100,
            'fit' => 'crop'
        ]
    ]
],

```

```

```

Watermarks
----------

[](#watermarks)

Watermarks are stored on the local filesystem by default. To use watermarks put the watermark files in `storage/app/watermarks` directory. To adjust the location where watermark files are stored you can edit `watermarks` and `watermarks_path_prefix` entries in the config.

```
ClydeImage::url('56a1472beca5d.jpg', [
    'mark' => 'watermark.png',
    'markpos' => 'top-right',
    'markw' => '50',
    'markh' => '50',
    'markpad' => '10'
]);

```

Security
--------

[](#security)

All URLs generated by Clyde are signed by default. This means that there is always a signature appended to all URLs and verified when an image is displayed. To turn this feature off set the `secure_urls`key to false in the config (not recommended).

Clyde?
------

[](#clyde)

The package name is a tribute to Clyde "The Glide" Drexler.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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 ~15 days

Recently: every ~25 days

Total

10

Last Release

3620d ago

### Community

Maintainers

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

---

Top Contributors

[![antennaio](https://avatars.githubusercontent.com/u/530421?v=4)](https://github.com/antennaio "antennaio (31 commits)")[![alanfabiano](https://avatars.githubusercontent.com/u/11877138?v=4)](https://github.com/alanfabiano "alanfabiano (1 commits)")

---

Tags

phplaravelresizecacheimagesuploadglide

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/antennaio-laravel-clyde/health.svg)

```
[![Health](https://phpackages.com/badges/antennaio-laravel-clyde/health.svg)](https://phpackages.com/packages/antennaio-laravel-clyde)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[silber/page-cache

Caches responses as static files on disk for lightning fast page loads.

1.3k441.9k6](/packages/silber-page-cache)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)

PHPackages © 2026

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