PHPackages                             svycka/sv-images - 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. svycka/sv-images

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

svycka/sv-images
================

Image manipulation library written in PHP, similar to cloud image processing services like Imgix and Cloudinary. This module simplifies image manipulation for Zend Framework 2

0.1.0(10y ago)7942[4 issues](https://github.com/svycka/sv-images/issues)[1 PRs](https://github.com/svycka/sv-images/pulls)MITPHPPHP &gt;=5.5

Since Apr 7Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (10)Versions (3)Used By (0)

svycka/sv-images
================

[](#svyckasv-images)

[![Build Status](https://camo.githubusercontent.com/5d4fb192470e13302158b31e372ecb351937e48a1fa876b1312dac10ad8c03f5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f737679636b612f73762d696d616765732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/svycka/sv-images)[![Coverage Status](https://camo.githubusercontent.com/ea2fd55c4d9cf69496451c1fe5e28919bc752706309616915f181ff162f77925/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f737679636b612f73762d696d616765732f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/svycka/sv-images?branch=master)[![Quality Score](https://camo.githubusercontent.com/c54cbadc6b75671c8ba752e0381054093eece2c3d55b9868641c0de6170026a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f737679636b612f73762d696d616765732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/svycka/sv-images)[![Latest Version on Packagist](https://camo.githubusercontent.com/c951d1360e20b8523f155de5bbffd124ca23348482d41ede8ee96b877dbb8dc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737679636b612f73762d696d616765732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/svycka/sv-images)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/cc4672818c718899df1cb1e46b9d995c4e3ae346a401131e326894f7f35468c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737679636b612f73762d696d616765732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/svycka/sv-images)

Image manipulation library written in PHP, similar to cloud image processing services like [Imgix](http://www.imgix.com/) and [Cloudinary](http://cloudinary.com/). This module simplifies image manipulation for Zend Framework 2

Install
-------

[](#install)

Via Composer

```
$ composer require svycka/sv-images
```

Basic Usage
-----------

[](#basic-usage)

- Register `SvImages` as module in `config/application.config.php`
- Create filesystem factory, exmaple:

```
class ImageFilesystemFactory implements FactoryInterface
{
    public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $flysystem = new \League\Flysystem\Filesystem(new Local(__DIR__.'/path/to/files'));
        $adapter = new \SvImages\Filesystem\Adapter\FlySystemAdapter($flysystem);
        return new \SvImages\Filesystem\Filesystem($adapter);
    }
}
```

- Create cache storage, for best performance should point to public directory, so once cache is generated PHP will not be hit at all, example:

```
class ImageCacheStorageFactory implements FactoryInterface
{
    public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $flysystem = new \League\Flysystem\Filesystem(new Local(__DIR__.'/path/to/public'));
        return new \SvImages\Cache\FlySystemStorage($flysystem);
    }
}
```

- Copy the file located in `vendor/svycka/sv-images/config/images.global.php.dist` to `config/autoload/images.global.php` and change the values as you wish
- Test it by going to [http://example.com/image/crop,x15,y15,w300,h300/fit,w200,h150,top-left/f\_key/your-image.jpg](http://example.com/image/crop,x15,y15,w300,h300/fit,w200,h150,top-left/f_key/your-image.jpg)

Change log
----------

[](#change-log)

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

Credits
-------

[](#credits)

- [Vytautas Stankus](https://github.com/svycka)
- [All Contributors](https://github.com/svycka/sv-images/graphs/contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

3694d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e0ab73cb83a2ef230038f67af23225940abc7ae809817d52c8445b43710d4ed?d=identicon)[svycka](/maintainers/svycka)

---

Top Contributors

[![svycka](https://avatars.githubusercontent.com/u/1270782?v=4)](https://github.com/svycka "svycka (21 commits)")

---

Tags

image-processingimage-storageimagemagickimageszend-frameworkimageImageMagickgdimagickeditingZendFrameworktransformationmodulezf2sv-images

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/svycka-sv-images/health.svg)

```
[![Health](https://phpackages.com/badges/svycka-sv-images/health.svg)](https://phpackages.com/packages/svycka-sv-images)
```

###  Alternatives

[league/glide

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

2.6k51.2M116](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[admad/cakephp-glide

CakePHP plugin for using Glide image manipulation library.

34160.7k1](/packages/admad-cakephp-glide)[orbitale/imagemagick-php

A system that allows creating commands to send to the exec() function to use ImageMagick's powerful features.

43385.7k1](/packages/orbitale-imagemagick-php)[phpixie/image

PHPixie imageprocessing library

4756.5k6](/packages/phpixie-image)[thapp/jitimage

Just in time image manipulation.

997.5k1](/packages/thapp-jitimage)

PHPackages © 2026

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