Blog |
Forum |
Repository |
Wizard
Jump to letter: [
ABCDFGHILMOPQRSTUWXZ
]
php-ZendFramework2-Console - Zend Framework 2: Console Component
- Website:
- http://framework.zend.com/manual/2.3/en/modules/zend.console.introduction.html
- Licence:
- BSD
- Vendor:
- Remi Collet
- Description:
Zend Framework 2 features built-in console support.
When a Zend\Application is run from a console window (a shell window), it will
recognize this fact and prepare Zend\Mvc components to handle the request.
Console support is enabled by default, but to function properly it requires at
least one console route and one action controller to handle the request.
* Console routing allows you to invoke controllers and action depending on
command line parameters provided by the user.
* Module Manager integration allows ZF2 applications and modules to display
help and usage information, in case the command line has not been understood
(no route matched).
* Console-aware action controllers will receive a console request containing
all named parameters and flags. They are able to send output back to the
console window.
* Console adapters provide a level of abstraction for interacting with console
on different operating systems.
* Console prompts can be used to interact with the user by asking him questions
and retrieving input.
Packages