laranail / console
A Rich-class console toolkit for Laravel — fluent output formatter, spinners, progress bars, boxes, trees and tables, plus a fluent prompts/forms layer with validators.
Package info
pkg:composer/laranail/console
Requires
- php: ^8.4.1 || ^8.5
- ext-mbstring: *
- illuminate/console: ^13.0
- illuminate/contracts: ^13.0
- illuminate/support: ^13.0
- laravel/prompts: ^0.3.18|^1.0
- symfony/console: ^8.0
Requires (Dev)
- infection/infection: ^0.33
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- mockery/mockery: ^1.6
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- phpbench/phpbench: ^1.4
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0
- rector/rector: ^2.0
- roave/security-advisories: dev-latest
- symfony/tui: ^8.2@dev
Suggests
- symfony/tui: (experimental, PHP >= 8.4.1) Enables the full-screen TUI integration — Console::tui() + Console\Tui\RenderableWidget.
Replaces
- laranail/console-tools: *
- laranail/prompter: *
This package is auto-updated.
Last update: 2026-07-08 18:10:24 UTC
README
A Rich-class console toolkit for Laravel — fluent terminal output (formatter, spinners, progress bars, boxes, trees, tables, charts, a Markdown + typography layer) and input (a
laravel/promptswrapper with a form builder and 26 validators).
Requires PHP ^8.4.1 on Laravel ^13 (Symfony 8).
Install
composer require laranail/console
The service provider, the Console/Prompter facades, and the prompter() helper are auto-discovered.
Publish config/lang if you want to customise them:
php artisan vendor:publish --tag=console-config php artisan vendor:publish --tag=console-lang
Documentation
Full documentation is at opensource.simtabi.com/documentation/laranail/console — installation, getting started, the design system, architecture, configuration, and per-subsystem reference (theming, colours, typography, Markdown, charts, widgets, banners, panels, menus, the full-screen TUI, prompts & forms, and more).
Contributing & security
Issues and PRs are welcome — see CONTRIBUTING.md. Report vulnerabilities per SECURITY.md (opensource@simtabi.com); participation follows the Code of Conduct.
License
MIT © Simtabi LLC. See LICENSE.