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-11-24 06:01:43 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