PHPackages                             everzel/weserv-php - 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. everzel/weserv-php

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

everzel/weserv-php
==================

Images.weserv.nl

1.0.4(2y ago)1808MITPHPPHP ^8.1

Since Jun 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/everzel/weserv-images-php)[ Packagist](https://packagist.org/packages/everzel/weserv-php)[ RSS](/packages/everzel-weserv-php/feed)WikiDiscussions main Synced today

READMEChangelog (5)DependenciesVersions (6)Used By (0)

PHP images.weserv.nl
====================

[](#php-imagesweservnl)

This package provides a fluent PHP OOP builder for [images.weserv.nl](https://images.weserv.nl).

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

[](#installation)

You can install the package via composer:

```
composer require everzel/weserv-php
```

Usage
-----

[](#usage)

```
use Everzel\WeservImages;
use Everzel\Enums\Fit;

$weserv = WeservImages::make('https://images.weserv.nl/lichtenstein.jpg', 'https://wsrv.nl', false);

$url = $weserv
    ->w(512)
    ->h(512)
    ->we()
    ->fit(Fit::INSIDE->value);

echo $url;
```

### Or

[](#or)

```
function weserv(string $imageUrl) {
    return WeservImages::make($imageUrl, 'https://wsrv.nl', false);
}

$url = weserv('https://images.weserv.nl/lichtenstein.jpg')
    ->w(512)
    ->h(512)
    ->we()
    ->fit(Fit::INSIDE->value);

echo $url;
```

[![](https://camo.githubusercontent.com/2586ae1f3bfb74707ab75ae0880f1e88b587ff9616c9d65bc4640702328abfef/68747470733a2f2f696d616765732e7765736572762e6e6c2f3f773d35313226683d3531322677653d31266669743d696e736964652675726c3d6874747073253341253246253246696d616765732e7765736572762e6e6c2532466c69636874656e737465696e2e6a7067)](https://camo.githubusercontent.com/2586ae1f3bfb74707ab75ae0880f1e88b587ff9616c9d65bc4640702328abfef/68747470733a2f2f696d616765732e7765736572762e6e6c2f3f773d35313226683d3531322677653d31266669743d696e736964652675726c3d6874747073253341253246253246696d616765732e7765736572762e6e6c2532466c69636874656e737465696e2e6a7067)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

1065d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28296942?v=4)[ZELVAD](/maintainers/zelvad)[@zelvad](https://github.com/zelvad)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/everzel-weserv-php/health.svg)

```
[![Health](https://phpackages.com/badges/everzel-weserv-php/health.svg)](https://phpackages.com/packages/everzel-weserv-php)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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