PHPackages                             wizardloop/wizardcli - 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. wizardloop/wizardcli

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

wizardloop/wizardcli
====================

🧙‍♂️ WizardCLI – Magical PHP CLI styling: Colors, Tables, Progress bars &amp; ASCII Art for beautiful terminal UX.

1.0.0(10mo ago)171MITPHPPHP &gt;=8.1CI passing

Since Jul 2Pushed 10mo agoCompare

[ Source](https://github.com/WizardLoop/WizardCLI)[ Packagist](https://packagist.org/packages/wizardloop/wizardcli)[ Fund](https://wizardloop.t.me/)[ GitHub Sponsors](https://github.com/WizardLoop)[ RSS](/packages/wizardloop-wizardcli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

🧙‍♂️✨ WizardCLI
===============

[](#‍️-wizardcli)

**The magical PHP CLI toolkit - add color, tables, progress bars &amp; ASCII Art to your terminal!**

 [![MIT License](https://camo.githubusercontent.com/b8cadaa967891081f8f165695470689986c028821dd8a040132f6e661795dc0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c7565)](https://github.com/WizardLoop/WizardCLI/blob/main/LICENSE) [![Tests](https://camo.githubusercontent.com/41ca9af092b4df292a25b93e8e7a7fa58dd04876c9d469d2f22ebb51654e02ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d504850556e69742d696e666f726d6174696f6e616c)](tests/WizardCLITest.php) [![Packagist](https://camo.githubusercontent.com/54bee5cc880222603b8b9f9dce08aaeff9edbfd6851c4ec785c3cc8e5f416b3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77697a6172646c6f6f702f77697a617264636c693f636f6c6f723d626c7565)](https://packagist.org/packages/wizardloop/wizardcli) [![Packagist Downloads](https://camo.githubusercontent.com/52d43626212a86080debbf19f6d6a5a55bdfbc47586137408da3b4df3608bbb2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77697a6172646c6f6f702f77697a617264636c693f636f6c6f723d626c7565)](https://packagist.org/packages/wizardloop/wizardcli) [![Build Status](https://github.com/WizardLoop/WizardCLI/actions/workflows/ci.yml/badge.svg)](https://github.com/WizardLoop/WizardCLI)

---

 **Turn your boring terminal into a magical world!
 Add colors, enchanting tables, spellbinding progress bars, and wizardly ASCII art banners to any PHP console application.**

---

✨ Features
----------

[](#-features)

- 🌈 **Colors &amp; Styles** Print colored and styled text in seconds
- 🪄 **ASCII Art** Wizard banners &amp; magical terminal art
- 📊 **Tables** Clean, beautiful table rendering for your data
- ⏳ **Progress Bars** Show task progress with charm and multiple themes
- 🎩 **Multiple Themes** Wizard, Sorcerer, Dark, Gold &amp; more
- 💎 **Modern API** Easy to use, works everywhere PHP runs

---

🚀 Installation
--------------

[](#-installation)

```
composer require wizardloop/wizardcli
```

---

🪄 Quick Example
---------------

[](#-quick-example)

```
use WizardCLI\WizardCLI;

require 'vendor/autoload.php';

$cli = new WizardCLI(['theme' => 'wizard']);

$cli->art("WizardCLI"); // Magic banner
$cli->color("Welcome to the magical CLI!", "magenta+bold");
$cli->table(["Name", "Spell"], [
    ["Merlin", "Invisibility"],
    ["Morgana", "Fireball"]
]);
$cli->progressBar(100, "Created By Wizard Loop | @WizardLoop");
for ($i = 1; $i progressAdvance();
}
$cli->progressFinish();
```

---

🌟 More Examples
---------------

[](#-more-examples)

**Progress Bar**

```
$cli->progressBar(30, "Brewing potion");
for ($i = 1; $i progressAdvance();
}
$cli->progressFinish();
```

**ASCII Art**

```
$cli->art("✨ Wizard CLI ✨");
```

**Table**

```
$cli->table(["Wizard", "Power"], [
    ["Gandalf", "Lightning"],
    ["Harry", "Expelliarmus"]
]);
```

See [examples/](examples/) for more!

---

🧪 Run Tests
-----------

[](#-run-tests)

```
composer test
```

---

🛠️ Contributing
---------------

[](#️-contributing)

Pull requests, issues, and magical ideas are very welcome!
See [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details.

---

🧙‍♂️ Connect
------------

[](#‍️-connect)

- Telegram: [wizardloop.t.me](https://wizardloop.t.me/)
- GitHub: [WizardLoop](https://github.com/WizardLoop)

---

📄 License
---------

[](#-license)

[MIT License](LICENSE)
Made with 🪄 by [WizardLoop](https://github.com/WizardLoop)

---

**✨ Time for magic in your terminal! ✨**

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6856538a4d6f912393bf308109dce694ae346a294e7a0def085c4c9b1f1b2fff?d=identicon)[WizardLoop](/maintainers/WizardLoop)

---

Top Contributors

[![WizardLoop](https://avatars.githubusercontent.com/u/67387949?v=4)](https://github.com/WizardLoop "WizardLoop (46 commits)")

---

Tags

clicli-styleterminalterminal-ux

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wizardloop-wizardcli/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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