PHPackages                             swiftchase/swift-imagine - 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. swiftchase/swift-imagine

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

swiftchase/swift-imagine
========================

Makes the Imagine image manipulation library available as Zend Framework 2 service, and adds more metadata readers

0.1.0(11y ago)0120BSD-3-ClausePHPPHP &gt;=5.5

Since Apr 6Pushed 11y ago1 watchersCompare

[ Source](https://github.com/swiftchase/swift-imagine)[ Packagist](https://packagist.org/packages/swiftchase/swift-imagine)[ Docs](https://github.com/swiftchase/swift-imagine)[ RSS](/packages/swiftchase-swift-imagine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

SwiftImagine Zend Framework 2 Module
====================================

[](#swiftimagine-zend-framework-2-module)

Purpose
-------

[](#purpose)

SwiftImagine makes the [Imagine](https://github.com/avalanche123/Imagine) library available as a service within a ZF2 application, automatically selecting the "best possible" adapter (selecting from [Gmagick](http://php.net/gmagick), [Imagick](http://php.net/imagick), or [GD](http://php.net/gd)).

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

[](#installation)

Add the library to composer:

```
$ composer require "swiftchase/swift-imagine:*"

```

Then, add the `SwiftImagine` module in your `config/application.config.php`. Afterwards, the `SwiftImagine\Service\Imagine` service will be available via the service manager.

Additional Metadata readers
---------------------------

[](#additional-metadata-readers)

The `Imagine` library itself comes with an `ExifMetadataReader`.

The `SwiftImagine` module adds additional readers:

- `ChainedMetadataReader` - aggregates information from multiple metadata readers
- `GpsMetadataReader` - extracts GPS location and altitude from the EXIF data
- `IptcMetadataReader` - extracts IPTC photo metadata.

Limitations / To-dos
--------------------

[](#limitations--to-dos)

Currently there's no way to configure the preferred graphics library adapter, change which metadata readers are enabled by default, or easily making multiple imagine services available each with different configurations.

There are also issues with the streams, haven't bothered to poke at it.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ba48a4af13a2e0eef1e794a27fdfbded2351f3f50d7455dca05a2dc914784ea?d=identicon)[swiftchase](/maintainers/swiftchase)

---

Top Contributors

[![swiftchase](https://avatars.githubusercontent.com/u/8070208?v=4)](https://github.com/swiftchase "swiftchase (1 commits)")

---

Tags

imageserviceimaginezf2photoexifIPTC

### Embed Badge

![Health badge](/badges/swiftchase-swift-imagine/health.svg)

```
[![Health](https://phpackages.com/badges/swiftchase-swift-imagine/health.svg)](https://phpackages.com/packages/swiftchase-swift-imagine)
```

###  Alternatives

[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M217](/packages/liip-imagine-bundle)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

270248.2k5](/packages/folklore-image)[frameright/image-metadata-parser

Image metadata parsing library

1133.9k](/packages/frameright-image-metadata-parser)[fileeye/pel

PHP Exif Library. A library for reading and writing Exif headers in JPEG and TIFF images using PHP.

197.1M2](/packages/fileeye-pel)[dantsu/php-image-editor

PHP library to easily edit image with GD extension.

34152.1k2](/packages/dantsu-php-image-editor)[zenstruck/image

Image file wrapper with generic transformation support.

3129.2k1](/packages/zenstruck-image)

PHPackages © 2026

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