alexeyshockov / plain-commands
This package is abandoned and no longer maintained.
No replacement package was suggested.
Wrapper around Symfony Console Component to define commands easily
v0.3.1
2020-01-16 15:20 UTC
Requires
- php: ~7.1
- alexeyshockov/colada-x: ^0.3
- alexeyshockov/pattern-matcher: ^0.1
- danielstjules/stringy: ~2.1 || ~3.0
- doctrine/annotations: ~1.2 || ~2.0
- lstrojny/functional-php: ~1.4
- phpdocumentor/reflection-docblock: ~3.0 || ~4.0
- phpoption/phpoption: ~1.5
- symfony/console: ~3.0 || ~4.0 || ~5.0
Requires (Dev)
- phpunit/phpunit: ~7.0
- squizlabs/php_codesniffer: ~3.0
This package is auto-updated.
Last update: 2023-02-10 17:26:36 UTC
README
Create CLI applications with many commands easily. This library is a lightweight wrapper around Symfony Console Component, that can be used alone or within Symfony based web application.
Contributing
Running Tests
To run all the tests, install the vendors (with Composer) and execute:
$ vendor/bin/phpunit --testdox
Public API
All classes that are intended to be used by a user should be marked with @api
PHPDoc tag. Classes without this mark
are internal and should not be used by the end user (we do not guarantee that the interface will stay the same between
versions).
Alternatives
- https://github.com/consolidation/annotated-command — similar approach, but from a different angle