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

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

nhujanen/image
==============

GD Wrapper

0.0.2(6y ago)03MITPHPPHP &gt;=7.1

Since Jun 6Pushed 6y agoCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Wex\\Image
==========

[](#weximage)

GD wrapper

Installing
==========

[](#installing)

`composer require nhujanen/image`

Requirements
============

[](#requirements)

PHP 7.1+ ext-gd with JPEG &amp; PNG

Supports
========

[](#supports)

- JPEG
- PNG
- WEBP
- GIF

Provides
========

[](#provides)

- Resizing (contain / cover -modes)
- Cropping (middle focus / free focus)
- Rotating (with cropping)
- Mirroring (X&amp;Y)
- Rect (with X2/Y2 -support)
- Colors
- Drawing

Usage
=====

[](#usage)

See `test/test.php`

Basic usage example:

```
// Load test.png
$image = Wex\Image::load('test.png');

// Resize to 300x200 (contained)
$thumb = $image->resize(300, 200);

// Save image as JPEG
$thumb->saveAs(Wex\Image\JPEG::class, "test_thumb.jpg");
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~0 days

Total

2

Last Release

2535d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49327294?v=4)[vvex](/maintainers/vvex)[@VVex](https://github.com/VVex)

---

Top Contributors

[![niko-whitestone](https://avatars.githubusercontent.com/u/57001662?v=4)](https://github.com/niko-whitestone "niko-whitestone (7 commits)")[![wex](https://avatars.githubusercontent.com/u/180108?v=4)](https://github.com/wex "wex (2 commits)")

### Embed Badge

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

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

###  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.0k23](/packages/bkwld-croppa)[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)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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