PHPackages                             guancheng/imager - 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. guancheng/imager

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

guancheng/imager
================

The package to compress and crop image.

291[3 issues](https://github.com/sc0Vu/Imager/issues)PHP

Since Oct 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sc0Vu/Imager)[ Packagist](https://packagist.org/packages/guancheng/imager)[ RSS](/packages/guancheng-imager/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Imager
======

[](#imager)

[![Build Status](https://camo.githubusercontent.com/7ad84fe929ac647143426573058af05e058610f96c356273b6055f309d1273a9/68747470733a2f2f7472617669732d63692e6f72672f73633056752f496d616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sc0Vu/Imager)[![codecov](https://camo.githubusercontent.com/fed2373563490d33f3aa8f08da0a90c6d924cd854ae6b02504f9ab84d10bbce2/68747470733a2f2f636f6465636f762e696f2f67682f73633056752f496d616765722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sc0Vu/Imager)[![License](https://camo.githubusercontent.com/7b679c4a6eef706f7b404bc0fd56b59ab622d6eea9911fa467b3c77f0554f78f/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6368656e672f696d616765722f6c6963656e7365)](https://packagist.org/packages/guancheng/imager)

Image library for php.

Install
=======

[](#install)

```
composer require guancheng/imager

```

Usage
=====

[](#usage)

```
use LGC\Imager\Imager;

$imager = new Imager([
    'library' => 'gd' // library gd | im
    'fileInfo' => [
        'src' => 'test.jpg',
        'type' => 'jpg'
    ]
]);
$imager->compress(80);
$imager->run();

```

Test
====

[](#test)

```
vendor/bin/phpunit

```

Licence
=======

[](#licence)

MIT

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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://avatars.githubusercontent.com/u/10494397?v=4)[Peter Lai](/maintainers/sc0Vu)[@sc0Vu](https://github.com/sc0Vu)

---

Top Contributors

[![sc0Vu](https://avatars.githubusercontent.com/u/10494397?v=4)](https://github.com/sc0Vu "sc0Vu (10 commits)")

---

Tags

imagephp

### Embed Badge

![Health badge](/badges/guancheng-imager/health.svg)

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4431.7k1](/packages/johncarter-filament-focal-point-picker)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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