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

ActiveLibrary

qubiqx/laravel-drift-less
=========================

v1.0.3(1y ago)0139MITPHPPHP ^8.3

Since Oct 26Pushed 1y agoCompare

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

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

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

[](#laravel-drift)

Optimize images on the fly.

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

[](#installation)

You can install the package via composer:

```
composer require qubiqx/laravel-drift

```

Usage
-----

[](#usage)

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

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

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

34

—

LowBetter than 77% of packages

Maintenance42

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~208 days

Total

7

Last Release

463d ago

Major Versions

0.0.4 → v1.0.12023-09-11

PHP version history (2 changes)0.0.1PHP ^8.0

v1.0.2PHP ^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 (3 commits)")

### Embed Badge

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

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

###  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

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