PHPackages                             nickwelsh/fennel - 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. nickwelsh/fennel

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

nickwelsh/fennel
================

A (nearly) feature complete, drop-in replacement for Cloudflare Images

v0.1.1-beta(1y ago)00[4 PRs](https://github.com/nickwelsh/fennel/pulls)MITPHPPHP ^8.3CI passing

Since Apr 16Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/nickwelsh/fennel)[ Packagist](https://packagist.org/packages/nickwelsh/fennel)[ Docs](https://github.com/nickwelsh/fennel)[ GitHub Sponsors](https://github.com/nickwelsh)[ RSS](/packages/nickwelsh-fennel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (14)Versions (8)Used By (0)

Fennel
======

[](#fennel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5bf3caaf7dc1901b988c07b8cb0ad285a5b8f1bf982c1040a49b06fb8f191305/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636b77656c73682f66656e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nickwelsh/fennel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/af105b5501911eceee355e400ec52f4600ecc0b29f8e1f215e42544c7b376a1f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e69636b77656c73682f66656e6e656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/nickwelsh/fennel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/45dcf4f34db69bc71fb4467f2f4f78ecce8f7e3705d3aebbd290ae2016904ee6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e69636b77656c73682f66656e6e656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/nickwelsh/fennel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/39c7283c98ff4be878c6623a8b87322acedf31ad89a334f4d205c6d7bb470b23/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e69636b77656c73682f66656e6e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nickwelsh/fennel)

A (nearly) feature complete, drop-in replacement for Cloudflare Images

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

[](#installation)

You can install the package via composer:

```
composer require nickwelsh/fennel

```

You can publish the config file with:

```
php artisan vendor:publish --tag="fennel-config"

```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="fennel-views"

```

Usage
-----

[](#usage)

Use as a blade component:

```

```

This will generate the following HTML:

```

```

Use the `Fennel` facade to generate a URL:

```
Fennel::fromPath('beach.jpg')->width(500)->format(ImageFormat::AVIF)->getUrl();

```

Testing
-------

[](#testing)

```
composer test

```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Nick Welsh](https://github.com/nickwelsh)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance64

Regular maintenance activity

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

2

Last Release

391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70a39610b8c88d0fde551dc4d451ca4b6e3ad8565125b01a9e6f59b8cd74abc9?d=identicon)[nickwelsh](/maintainers/nickwelsh)

---

Top Contributors

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

---

Tags

laravelnickwelshfennel

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nickwelsh-fennel/health.svg)

```
[![Health](https://phpackages.com/badges/nickwelsh-fennel/health.svg)](https://phpackages.com/packages/nickwelsh-fennel)
```

###  Alternatives

[ace-of-aces/laravel-image-transform-url

Easy, URL-based image transformations inspired by Cloudflare Images.

1756.4k](/packages/ace-of-aces-laravel-image-transform-url)[saasykit/laravel-open-graphy

An awesome open graph image (social cards) generator package for Laravel.

13057.0k](/packages/saasykit-laravel-open-graphy)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4326.5k1](/packages/johncarter-filament-focal-point-picker)[ralphjsmit/laravel-glide

Auto-magically generate responsive images from static image files.

4719.6k5](/packages/ralphjsmit-laravel-glide)[spatie/laravel-og-image

Generate OG images for your Laravel app

305.2k](/packages/spatie-laravel-og-image)

PHPackages © 2026

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