PHPackages                             conlect/image-iiif - 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. conlect/image-iiif

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

conlect/image-iiif
==================

IIIF Image API 3.0

2.0.1(1y ago)2013.7k↓17.5%3[4 PRs](https://github.com/conlect/image-iiif/pulls)MITPHPPHP ^8.2CI passing

Since Jun 6Pushed 1w ago1 watchersCompare

[ Source](https://github.com/conlect/image-iiif)[ Packagist](https://packagist.org/packages/conlect/image-iiif)[ Docs](https://github.com/conlect/image-iiif)[ RSS](/packages/conlect-image-iiif/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (5)Versions (14)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f1573fbc19e614310890977751c505315e7cb7285db4860a7864c92aa62ee2ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e6c6563742f696d6167652d696969662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/conlect/image-iiif)[![Tests](https://github.com/conlect/image-iiif/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/conlect/image-iiif/actions/workflows/run-tests.yml)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9bdb924520557962922869269c6e0570277f1ad791a10fe9f0de1c91d546c079/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6e6c6563742f696d6167652d696969662f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/conlect/image-iiif/?branch=main)[![Total Downloads](https://camo.githubusercontent.com/54d0cc490edf5500d040af2bddc4cd667364c0195f419f2dee61ad047595e808/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6e6c6563742f696d6167652d696969662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/conlect/image-iiif)

Image IIIF
==========

[](#image-iiif)

This package implements the [IIIF Image API 3.0](https://iiif.io/api/image/3.0/), it is unopinionated about implementation and many of the `MUST` features are not included because it does not include an actual implementation only the means to create one. I consider it a bring your own framework solution for implementing Image API 3.0 with PHP. The package utilizes the [Intervention Image](http://image.intervention.io/) package for manipulations. I have provided Intervention filters for each of the 5 IIIF parameters that can be used independently of the `$factory()->load()->withParameters()` pipeline methods.

**Supports all Image Request Parameters:**

- Region (full || square || x,y,w,h || pct:x,y,w,h)
- Size (full || max || w, || ,h || pct:n || w,h || !w,h)
- Rotation (n || !n)
- Quality (color || gray || default)
- Format (jpg || tif || png || gif || webp)

Supports the `info.json` response for an identifier.

#### Laravel image route example:

[](#laravel-image-route-example)

```
Route::get('iiif/{identifier}/{region}/{size}/{rotation}/{quality}.{format}',
    function (Request $request) {
        $parameters = $request->route()->parameters();

        $file = storage_path('app/images/'.$parameters['identifier']);

        $factory = new \Conlect\ImageIIIF\ImageFactory;

        $file = $factory()->load($file)
            ->withParameters($parameters)
            ->stream();

        $response = \Response::make($file);

        $response->header('Content-Type', config("iiif.mime.{$parameters['format']}"));

        return $response;
    }
);
```

#### Laravel info route example:

[](#laravel-info-route-example)

```
Route::get('iiif/{identifier}/info.json',
    function (Request $request) {
        $file = storage_path('app/images/'.$request->identifier);

        $factory = new \Conlect\ImageIIIF\ImageFactory;

        $info = $factory()->load($file)
            ->info($request->identifier);

        return $info;
    }
);
```

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance71

Regular maintenance activity

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 62.7% 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 ~340 days

Recently: every ~197 days

Total

8

Last Release

567d ago

Major Versions

0.2.0 → 1.0.02022-03-30

1.2.0 → 2.0.02024-05-27

PHP version history (5 changes)0.1.0PHP ^7.1

1.0.0PHP &gt;=5.5.9

1.0.1PHP ^8.0.2

1.2.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![jeremytubbs](https://avatars.githubusercontent.com/u/548888?v=4)](https://github.com/jeremytubbs "jeremytubbs (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

iiifimageintervention-imagephpiiifImage APIiiif-image

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/conlect-image-iiif/health.svg)

```
[![Health](https://phpackages.com/badges/conlect-image-iiif/health.svg)](https://phpackages.com/packages/conlect-image-iiif)
```

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k53.3M146](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M183](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506516.3k29](/packages/bkwld-croppa)[laravel-at/laravel-image-sanitize

A small but handy package to prevent malicious code execution coming into your application through uploaded image files.

33866.8k](/packages/laravel-at-laravel-image-sanitize)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)

PHPackages © 2026

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