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

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

asryan/image-man
================

PHP class that helps to work with images

14PHP

Since Feb 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/davoasrn/image-man)[ Packagist](https://packagist.org/packages/asryan/image-man)[ RSS](/packages/asryan-image-man/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

image-man
=========

[](#image-man)

Image Manipulation

Getting Started
---------------

[](#getting-started)

### Installing

[](#installing)

Add to your composer.json in require section

```
"asryan/image-man": "*"

```

Then composer update

Or use following command

```
composer require asryan/image-man

```

This will add asryan directory in your vendor directory

### Example

[](#example)

```
require_once __DIR__ . '/vendor/autoload.php';

use davoasrn\ImageMan;

try {
    // Create a new object
    $image = new ImageMan();

    // Manipulate
        $image
            ->loadFile('penguin.jpg')           // load image
            //->doRotate(20)                        // rotate by angle -360 360
            ->doFlip('both')               // flip x horizontally, y vertically, both both
            //->doColorize('#ffd700')               // tint hex color
            ->border('#ffd700', 15)  // add a 15 pixel yellow border, hex color
            //->doBlur('gaussian', 5)               // blur default to selective, 5 depth
            //->doResize(400, 300)                  // resize dimensions: 400 width and 300 height
            ->toFile('new_penguin.jpg');        // output to file with prefix new

} catch(Exception $err) {
    // Handle errors
    echo $err->getMessage();
}

```

Author
------

[](#author)

- **Davit Asryan**

License
-------

[](#license)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/3791196?v=4)[Davit Asryan](/maintainers/davoasrn)[@davoasrn](https://github.com/davoasrn)

---

Top Contributors

[![davoasrn](https://avatars.githubusercontent.com/u/3791196?v=4)](https://github.com/davoasrn "davoasrn (9 commits)")

### Embed Badge

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

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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