PHPackages                             stoffel/console-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. [CLI &amp; Console](/categories/cli)
4. /
5. stoffel/console-image

ActiveLibrary[CLI &amp; Console](/categories/cli)

stoffel/console-image
=====================

Helper to print images using Symfony Console

0.2.2(5y ago)114921MITPHPPHP ^7.4

Since Oct 3Pushed 5y ago2 watchersCompare

[ Source](https://github.com/chr-hertel/console-image)[ Packagist](https://packagist.org/packages/stoffel/console-image)[ RSS](/packages/stoffel-console-image/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (3)Versions (6)Used By (1)

Console Image
=============

[](#console-image)

Helper to print images using Symfony Console inspired by [new features](https://symfony.com/blog/new-in-symfony-5-2-true-colors-in-the-console) and [viu](https://github.com/atanunq/viu).

[![](docs/isj28sosje.gif)](docs/isj28sosje.gif)

Example
-------

[](#example)

```
$ git clone git@github.com:chr-hertel/console-image.git
$ cd console-image
$ composer install
$ example/printer path/to/image.jpg
```

Installation
------------

[](#installation)

```
$ composer require stoffel/console-image
```

Usage in PHP

```
use Stoffel\Console\Image\ImageHelper;

ImageHelper::create($output)
    ->print('/path/to/image.jpg');

// or with explicit maximal dimensions (still scaled in correct aspect ration)
ImageHelper::create($output)
    ->print('/path/to/image.jpg', 40, 20);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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 ~14 days

Total

5

Last Release

2042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e644c6c1e90b7d997edd1c25da41c48a76d89b7449fb5788214b341e2cd1a019?d=identicon)[chr-hertel](/maintainers/chr-hertel)

---

Top Contributors

[![chr-hertel](https://avatars.githubusercontent.com/u/2852185?v=4)](https://github.com/chr-hertel "chr-hertel (11 commits)")[![Rubinum](https://avatars.githubusercontent.com/u/5645798?v=4)](https://github.com/Rubinum "Rubinum (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[shopware/storefront

Storefront for Shopware

684.6M235](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)

PHPackages © 2026

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