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

ActiveLibrary

dashed/laravel-drift
====================

v1.0.19(5mo ago)07191MITPHPPHP ^8.4|^8.3

Since Aug 17Pushed 5mo agoCompare

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

READMEChangelog (10)Dependencies (3)Versions (21)Used By (1)

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

[](#laravel-drift)

Optimize images on the fly.

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

[](#installation)

You can install the package via composer:

```
composer require dashed/laravel-drift

```

Usage
-----

[](#usage)

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

```
use Dashed\Drift\Config;
use Dashed\Drift\DriftManager;
use Dashed\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 `\Dashed\Drift\UrlBuilder` like so:

```
use Dashed\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

45

—

FairBetter than 93% of packages

Maintenance69

Regular maintenance activity

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~43 days

Recently: every ~113 days

Total

20

Last Release

178d ago

PHP version history (3 changes)v1.0.0PHP ^8.0

v1.0.15PHP ^8.3

v1.0.16PHP ^8.4|^8.3

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[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)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[beyondcode/laravel-favicon

Create dynamic favicons based on your environment settings.

37345.5k](/packages/beyondcode-laravel-favicon)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[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.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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