dmouse / select-helper
Create a select options list with Symfony/console.
0.1
2015-11-26 04:34 UTC
Requires
- symfony/console: ~2.3
Requires (Dev)
- phpunit/phpunit: ^4.0
This package is auto-updated.
Last update: 2024-10-24 05:45:54 UTC
README
Select Helper
This component provide a select helper to the symfony/console
How to use
Include in your composer.json
$ composer require dmouse/select-helper
Create a new instance from the select helper class
// ... $select = new \Dmouse\Console\Helper\SelectHelper($output); $select->setOptions([ "option 1", "option 2", "option 3" ]); $option = $select->runSelect(); // ...
See more in https://github.com/dmouse/select-helper/blob/master/console.php