PHPackages                             rurounize/zfimage2 - 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. rurounize/zfimage2

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

rurounize/zfimage2
==================

Description of project zfimage2.

014PHP

Since Aug 28Pushed 10y agoCompare

[ Source](https://github.com/elialejandro/zfimage2)[ Packagist](https://packagist.org/packages/rurounize/zfimage2)[ RSS](/packages/rurounize-zfimage2/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZFImage
=======

[](#zfimage)

Es una librería para la manipulación de imágenes en Zend Framework 2

Cambios
-------

[](#cambios)

- Rescritura de la librería para poder usarla con ZF2
- Se agrega nuevo limite de memoria para la manipulación de imagenes se extendio hasta 256Mb, ahora la imagen más grande que se puede manipular es de 11Mb o 7200px x 7200px

Uso
---

[](#uso)

### Rezise

[](#rezise)

```
$image = new ZFImage\Image("images/desert.jpg");
$image->addPlugin(new ZFImage\Fx\Resize(220));
$image->imageJpeg()
```

### Crop

[](#crop)

```
$image = new ZFImage\Image('images/desert.jpg');
$image->addPlugin(new ZFImage\Fx\Crop(100));
$image->imageJpeg();
```

### Watermark

[](#watermark)

```
$image = new ZFImage\Image("images/desert.jpg");
$watermark = new ZFImage\Image("images/watermark.png");
$image->addPlugin(new ZFImage\Fx\Resize(400));
$image->addPlugin(new ZFImage\Draw\WaterMark($watermark));
$image->imageJpeg();
```

### Crop top

[](#crop-top)

```
$image = new ZFImage\Image('images/desert.jpg');
$image->addPlugin(new ZFImage\Fx\Crop(400, 300, "top"));
$image->imageJpeg();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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://www.gravatar.com/avatar/bcfd94a075a6639b852d3d6b3ff1150d4e24502e924d9b312f7962173803fdb2?d=identicon)[rurounize](/maintainers/rurounize)

---

Top Contributors

[![elialejandro](https://avatars.githubusercontent.com/u/997615?v=4)](https://github.com/elialejandro "elialejandro (27 commits)")

### Embed Badge

![Health badge](/badges/rurounize-zfimage2/health.svg)

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

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[marc1706/fast-image-size

fast-image-size is a PHP library that does almost everything PHP's getimagesize() does but without the large overhead of downloading the complete file.

959.4M20](/packages/marc1706-fast-image-size)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)

PHPackages © 2026

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