First release of Yii Console package was tagged. It provides a console that could be added to an application.
The package uses Symfony Console under the hood and adds:
servecommand that starts built-in PHP server.- Application events
ApplicationStartupandApplicationShutdown. - Friendly exceptions support.
namespace/commandcommand naming style.- Ability to add commands via Yii config and lazy command loading from a PSR-11 compatible container.
- Error logging.
- A set of pre-defined exit codes.
The code has high tests coverage, is 100% typed and checked statically with Psalm.