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

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

vakata/image
============

Image manipulation helper class

2.4.3(1y ago)26.0k↓50%MITPHPPHP &gt;=8.3.0CI failing

Since Aug 2Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (15)Used By (0)

image
=====

[](#image)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ece8be1531883431ee1b7b5be4d9df0ca4b7f9f2ad6f2359ec92b5ee55783e6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76616b6174612f696d6167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vakata/image)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d83bb4389188711e0ae7968d02d5cb4d2a8cfc6048a5097c9ea74e4de96e7996/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76616b6174612f696d6167652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vakata/image)[![Code Climate](https://camo.githubusercontent.com/5bff5fb2b32748a54de0e78eb6bbd59230a441be1ccceb863a187f512761092f/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f76616b6174612f696d6167652e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/vakata/image)[![Tests Coverage](https://camo.githubusercontent.com/611e129389b91d20596e396df8efb06c1883ee41ac8e338ef96ff67bbe08fb2e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f76616b6174612f696d6167652e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/vakata/image)

PHP helper class for image manipulation (using Imagick or GD - whichever is available).

Install
-------

[](#install)

Via Composer

```
$ composer require vakata/image
```

Usage
-----

[](#usage)

```
$image = new \vakata\image\Image('image.png');
header('Content-Type: image/jpeg');
echo $image
    ->crop(200, 200)
    ->grayscale()
    ->rotate(90)
    ->toJPG();
```

Read more in the [API docs](docs/README.md)

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [vakata](https://github.com/vakata)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance43

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 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

Every ~240 days

Recently: every ~116 days

Total

14

Last Release

457d ago

Major Versions

1.0.2 → 2.0.02017-01-26

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

2.4.1PHP &gt;=8.3.0

### Community

Maintainers

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

---

Top Contributors

[![vakata](https://avatars.githubusercontent.com/u/146052?v=4)](https://github.com/vakata "vakata (16 commits)")

---

Tags

imagevakata

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[league/glide

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

2.6k51.2M116](/packages/league-glide)[liip/imagine-bundle

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

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

Manipulate images with an expressive API

1.4k54.4M138](/packages/spatie-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1536.5M102](/packages/intervention-image-laravel)[intervention/gif

PHP GIF Encoder/Decoder

5720.3M9](/packages/intervention-gif)

PHPackages © 2026

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