PHPackages                             flowframe/laravel-drift - 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. flowframe/laravel-drift

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

flowframe/laravel-drift
=======================

v0.2.0(2y ago)128.7k3MITPHPPHP ^8.0

Since Mar 14Pushed 2y agoCompare

[ Source](https://github.com/Flowframe/laravel-drift)[ Packagist](https://packagist.org/packages/flowframe/laravel-drift)[ Docs](https://github.com/flowframe/laravel-drift)[ GitHub Sponsors](https://github.com/larsklopstra)[ RSS](/packages/flowframe-laravel-drift/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel Drift
=============

[](#laravel-drift)

Optimize images on the fly.

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

[](#installation)

You can install the package via composer:

```
composer require flowframe/laravel-drift

```

Usage
-----

[](#usage)

Simply install the package, and register a configuration in `AppServiceProvider@boot`:

```
use Flowframe\Drift\Config;
use Flowframe\Drift\DriftManager;
use Flowframe\Drift\CachingStrategies\FilesystemCachingStrategy;

/** @var DriftManager $drift */
$drift = app(DriftManager::class);

$drift->registerConfig(new Config(
    name: 'my-config-name', // Will be used in the slug
    filesystemDisk: 'filesystems-disk-name', // Local, public or s3 for example
    cachingStrategy: FilesystemCachingStrategy::class, // Create your own or use the defaults like FilesystemCachingStrategy or NullCachingStrategy
));
```

### Image URLs

[](#image-urls)

To generate an image URL use the `\Flowframe\Drift\UrlBuilder` like so:

```
use Flowframe\Drift\UrlBuilder;

/** @var UrlBuilder $builder */
$builder = app(UrlBuilder::class);

$image = $builder->url('my-config-name', 'example.png', [
    'resize' => [1920, 1080],
    'encode' => 'webp', // The fallback encoding will be webp
]);
```

You can use most of [Intervention Image's](https://image.intervention.io/v2/usage/overview#editing-images) methods, simply use the method name as key and set the argument as value. Have more than one argument? Use an array instead like in the example above.

### Blade Component

[](#blade-component)

```

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~243 days

Total

3

Last Release

1039d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25669876?v=4)[Lars Klopstra](/maintainers/LarsKlopstra)[@Larsklopstra](https://github.com/Larsklopstra)

---

Top Contributors

[![Larsklopstra](https://avatars.githubusercontent.com/u/25669876?v=4)](https://github.com/Larsklopstra "Larsklopstra (4 commits)")

---

Tags

image-processinglaravelpackage

### Embed Badge

![Health badge](/badges/flowframe-laravel-drift/health.svg)

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

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[beyondcode/laravel-favicon

Create dynamic favicons based on your environment settings.

37345.5k](/packages/beyondcode-laravel-favicon)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)

PHPackages © 2026

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