PHPackages                             compolomus/compomage - 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. compolomus/compomage

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

compolomus/compomage
====================

Image helper

1.0(3y ago)315MITPHPPHP ^8.0CI failing

Since Mar 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Compolomus/Compomage)[ Packagist](https://packagist.org/packages/compolomus/compomage)[ RSS](/packages/compolomus-compomage/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (8)Used By (0)

Koenig Compomage
================

[](#koenig-compomage)

[![License](https://camo.githubusercontent.com/1fecfa19f350284e2edb78f874384f9f0f8591cd5f9aa7a688ee3c67ed79b478/68747470733a2f2f706f7365722e707567782e6f72672f636f6d706f6c6f6d75732f436f6d706f6d6167652f6c6963656e7365)](https://packagist.org/packages/compolomus/Compomage)

[![Build Status](https://camo.githubusercontent.com/804f52192ea8c14f541f2aacbc2886bd22b30883eb4a4ab4f3bfc1ae3ed82da2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f6d706f6c6f6d75732f436f6d706f6d6167652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Compolomus/Compomage/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a143ecbb88e5d8834377f1d43801e94cf0ab4577220c55442f3dcc0ee91e3174/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f6d706f6c6f6d75732f436f6d706f6d6167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Compolomus/Compomage/?branch=master)[![Code Climate](https://camo.githubusercontent.com/d6fa5c5331c3f109e36e1583999931f179e0237dad433b109f28e19af340067b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f436f6d706f6c6f6d75732f436f6d706f6d6167652f6261646765732f6770612e737667)](https://codeclimate.com/github/Compolomus/Compomage)[![Downloads](https://camo.githubusercontent.com/0f4dd7d38b1a7bdb720e8e099330b01730da31b34a910c04fa41ad2c2086726b/68747470733a2f2f706f7365722e707567782e6f72672f636f6d706f6c6f6d75732f436f6d706f6d6167652f646f776e6c6f616473)](https://packagist.org/packages/compolomus/Compomage)[![Code Coverage](https://camo.githubusercontent.com/b3af00caf20cfec2755257aad3c1795c876656dcec3fc1e938a1e358618023ee/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6d706f6c6f6d75732f436f6d706f6d6167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/compolomus/Compomage/?branch=master)

Установка:
----------

[](#установка)

composer require compolomus/compomage

Применение:
-----------

[](#применение)

```
use Compolomus\Compomage\Image;

require __DIR__ . '/vendor/autoload.php';

/* Local file */
$img = new Image('./examples/crop/bee.jpg'); // Auto check Imagick or GD default

$img->grayscale()
    ->rotate(45)
    ->flop();

echo '';

/* base64 source */

$base64_image = base64_encode(file_get_contents('./examples/crop/bee.jpg'));

$img = new Image($base64_image, Image::GD);

$img->resizeBy('percent', 150)
    ->flip();

echo '';

/* URL file */

$URL_image = 'https://4.bp.blogspot.com/-P_yzboTrLUM/WGP4FUvVAQI/AAAAAAAABGc/SkRu_mOPKOwxsxLic-dBhugEyvPgvLEqgCLcB/s320/1.png';

$img = new Image($URL_image, Image::IMAGICK);

$img->resizeByWidth(600)
    ->resizeByHeight(350);

echo '';
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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 ~264 days

Recently: every ~393 days

Total

7

Last Release

1442d ago

Major Versions

0.9 → 1.02022-07-19

PHP version history (4 changes)0.1PHP ^7.0

0.2PHP ^7.1

0.9PHP ^7.2

1.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10777258?v=4)[Дмитрий](/maintainers/Compolomus)[@Compolomus](https://github.com/Compolomus)

---

Top Contributors

[![Compolomus](https://avatars.githubusercontent.com/u/10777258?v=4)](https://github.com/Compolomus "Compolomus (87 commits)")

---

Tags

gdimage-manipulationimagemagickphp7gdimagick

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/compolomus-compomage/health.svg)

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

###  Alternatives

[intervention/image

PHP Image Processing

14.3k203.8M2.5k](/packages/intervention-image)[league/glide

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

2.6k52.6M140](/packages/league-glide)[rosell-dk/webp-convert

Convert JPEG &amp; PNG to WebP with PHP

6048.7M59](/packages/rosell-dk-webp-convert)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.9M161](/packages/intervention-image-laravel)[folklore/image

Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa for easy url based manipulation

269248.6k5](/packages/folklore-image)[orbitale/imagemagick-php

A system that allows creating commands to send to the exec() function to use ImageMagick's powerful features.

43418.0k1](/packages/orbitale-imagemagick-php)

PHPackages © 2026

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