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

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

imagelint/imagelint-php
=======================

A class to convert your image URLs to Imagelint URLs

0185PHP

Since Mar 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/imagelint/imagelint-php)[ Packagist](https://packagist.org/packages/imagelint/imagelint-php)[ RSS](/packages/imagelint-imagelint-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Imagelint PHP
=============

[](#imagelint-php)

[![Build Status](https://camo.githubusercontent.com/120edce920c634beae0aa409cd7fe888ea2436819bc9e559ce1e522835618e51/68747470733a2f2f7472617669732d63692e6f72672f696d6167656c696e742f696d6167656c696e742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/imagelint/imagelint-php)[![codecov](https://camo.githubusercontent.com/3d8c135f9ac1a05e42026b93a45ab662b78ce61c04f754b7a8f8d86a0fce7031/68747470733a2f2f636f6465636f762e696f2f67682f696d6167656c696e742f696d6167656c696e742d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/imagelint/imagelint-php)

A class to convert your image URLs to Imagelint URLs

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

[](#installation)

You can add this library to your project using [Composer](https://getcomposer.org/):

```
composer require imagelint/imagelint-php

```

Usage
-----

[](#usage)

### Basic usage

[](#basic-usage)

```
Imagelint\Imagelint::get('http://yoursite.com/img/cat.jpg')
```

The code above yields the output below:

```
https://a1.imagelint.com/yoursite.com/img/cat.jpg

```

### You can also use parameters

[](#you-can-also-use-parameters)

```
Imagelint\Imagelint::get('http://yoursite.com/img/cat.jpg', ['width' => 200])
```

The code above scales the image to a width of 200px.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1202596?v=4)[Paul Mohr](/maintainers/Sopamo)[@Sopamo](https://github.com/Sopamo)

---

Top Contributors

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

---

Tags

image-compressionimage-optimizationimagelint

### Embed Badge

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

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

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

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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