PHPackages                             biesior/boxer - 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. biesior/boxer

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

biesior/boxer
=============

Simple package to draw boxes especially in the CLI commands. Extends symfony/console.

v1.0.0-ALPHA1(10mo ago)00MITPHPPHP ^8.2CI failing

Since Jul 20Pushed 10mo agoCompare

[ Source](https://github.com/biesior/boxer)[ Packagist](https://packagist.org/packages/biesior/boxer)[ RSS](/packages/biesior-boxer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Boxer
=====

[](#boxer)

**A retro-flavored CLI styling toolbox for the modern terminal artisan.**

[![PHP Version](https://camo.githubusercontent.com/c9f64f714c636ba27a3bba6dfd52f98426832db1262747efa54b212d16943651/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e322d626c7565)](https://camo.githubusercontent.com/c9f64f714c636ba27a3bba6dfd52f98426832db1262747efa54b212d16943651/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e322d626c7565)[![Symfony Console](https://camo.githubusercontent.com/90bcf06a5ef11bce6459b7208cd16e6d4fb7da5bcbedf8b59d8d61d6650b43ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e79253246636f6e736f6c652d253545362e31253230253743253743253230253545372e302d677265656e)](https://camo.githubusercontent.com/90bcf06a5ef11bce6459b7208cd16e6d4fb7da5bcbedf8b59d8d61d6650b43ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e79253246636f6e736f6c652d253545362e31253230253743253743253230253545372e302d677265656e)[![symfony/var-dumper](https://camo.githubusercontent.com/2b9db027144ee1530a2b639afa11bef9cca87df9dff064d3071eb79823937b3d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792532467661722d2d64756d7065722d253545362e30253230253743253743253230253545372e302d677265656e)](https://camo.githubusercontent.com/2b9db027144ee1530a2b639afa11bef9cca87df9dff064d3071eb79823937b3d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792532467661722d2d64756d7065722d253545362e30253230253743253743253230253545372e302d677265656e)[![symfony/yaml](https://camo.githubusercontent.com/ffc82b56c198ce507c7baf39cc3dcd721f92b0246e18a58caec89119373958d2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e7925324679616d6c2d253545362e30253230253743253743253230253545372e302d677265656e)](https://camo.githubusercontent.com/ffc82b56c198ce507c7baf39cc3dcd721f92b0246e18a58caec89119373958d2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e7925324679616d6c2d253545362e30253230253743253743253230253545372e302d677265656e)[![License](https://camo.githubusercontent.com/776580a0f16f5ed6c3c52b68ae2d075237c47bfa38f2b427939b235043741ab7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62696573696f722f626f786572)](https://camo.githubusercontent.com/776580a0f16f5ed6c3c52b68ae2d075237c47bfa38f2b427939b235043741ab7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62696573696f722f626f786572)

Boxer is a Symfony Console-compatible helper package that adds stylistic and interactive output methods. It provides drop-in enhancements over Symfony Style and Formatter helper classes, allowing CLI applications to display consistently styled banners, block messages, and boxed outputs.

Features
--------

[](#features)

- Colored and styled output blocks (`box`, `slider`, `banner`)
- Seamless integration with `Symfony\Component\Console\Style\SymfonyStyle`
- Drop-in replacement with fallback to default Symfony behavior i.e., by `--boxless` option
- Minimal configuration
- Sample usage file included

Why Boxer?
----------

[](#why-boxer)

Symfony’s Console component is powerful but lacks modern, styled outputs by default. Boxer enhances CLI UX without complicating your codebase.

Requirements
------------

[](#requirements)

- [Composer](https://getcomposer.org/) installed globally, or use [DDEV](https://ddev.com/) where Composer is pre-installed
- `PHP 8.2` or higher (can optionally be run via DDEV with pre-installed one)
- `symfony/console` `^6.1 || ^7.0`
- `symfony/var-dumper` `^6.0 || ^7.0`

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

[](#installation)

### Fastest, via Composer

[](#fastest-via-composer)

```
composer require biesior/boxer
```

Usage Example
-------------

[](#usage-example)

A sample usage file is available at `examples/boxer-style.php`. You can run it with:

```
php examples/boxer-style.php
```

This example demonstrates:

- Block output with various styles
- Interactive questions
- Banners and progress bars

Quick Start with DDEV (optional)
--------------------------------

[](#quick-start-with-ddev-optional)

For quick experimentation, the package includes a minimal `.ddev/` config. If you have [DDEV](https://ddev.com/) installed:

```
ddev start
ddev php examples/boxer-style.php
```

No need to configure PHP or Composer locally — it's ready to run in seconds.

### Contributors Welcome!

[](#contributors-welcome)

### This project is `contributor-friendly`!

[](#this-project-is-contributor-friendly)

Boxer is currently in **ALPHA** stage. Your feedback and contributions are valuable before the first stable release.

If you're a:

- Developer
- CLI tools maintainer
- UX-minded engineer
- Tester
- Technical writer
- Visionary

...we’d love to hear from you. Pull requests, issues, and suggestions are all welcome!

License
-------

[](#license)

This package is open-sourced under the MIT license.
See the [LICENSE](LICENSE) file for details.

© Copyright 2025 Marcus `biesior` Biesioroff and contributors.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance55

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

301d ago

### Community

Maintainers

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

---

Top Contributors

[![biesior](https://avatars.githubusercontent.com/u/522807?v=4)](https://github.com/biesior "biesior (1 commits)")

---

Tags

ansi-artartisanwarebox-drawingclicli-sugarcli-toolkitcomposer-packagecontributor-friendlydebug-enhancementdeveloper-experiencedeveloper-productivitydevtoolsopen-sourcephpphp8retroterminal-styleterminal-ui

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biesior-boxer/health.svg)

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M35](/packages/humbug-php-scoper)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)

PHPackages © 2026

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