library console-bundle
Console tools for Symfony3.
remg/console-bundle
Console tools for Symfony3.
- Monday, February 20, 2017
- by Remg
- Repository
- 1 Watchers
- 0 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
ConsoleBundle
A bundle to help writing commands with a lots of interactions that requires a lot of logics., (*1)
Introduction
The goal of this bundle is, like the Form types in the Form Component, to define Question types with a given context for each question., (*2)
Usage:
- install the bundle with composer
composer require remg/console-bundle dev-master
- define your Style class, that must extend ConsoleStyle
- create a style instance and set the QuestionFactory to it
- build your questions like you build your forms!
You can even define your questions as services, by tagging them with the "question.type" tag. (just very like the Form component)., (*3)
dev-master
9999999-dev
Console tools for Symfony3.
Sources
Download
MIT
The Requires
The Development Requires