Conversation
|
Your works are very similar with Symfony/Components. I don't think it's not very necessary to rebuild a console....Why don't you build a console on top of above component :)? |
Because
|
|
Seems like an interesting idea. Would be a nice addition to Zest, I think. :-) I'm not super familiar with framework-based consoles though, TBH. Even Symfony's console, which seems to be reasonable popular AFAICT, isn't something I tend to ever use, except when necessary (e.g., when using a Symfony-based application which relies on their console). |
|
Just notice that the console about Laravel framework relies on the My main suggestion is: We should consider using the lightweight PHP console to build the console Zest framework. It should be easy to build and it can avoid "repeating yourself" :). |
What do you mean by light weight php console |
|
You can find the console via the packagist.org site. |
For now in this 'PR' I will continue a bit work the think about it. The proglen is that to include third party lib is violate term of Zest . |
Agree. Go ahead with that. |
TODO
After that this |
As i was thinking since the long time about new improved
consoleso finally i try to find time and work on it.Its new console, which support to register commands etc..
A simple hello world command may look like this
In
ZestSkeleton it should added toApp/Config/Console.phpIt also have few internals commands
Here is snapshot of list command

@peter279k and @Maikuolan what do yo think about this approach?
The
symfony consoleexists no matter, but i love to reinvent wheel, and the motive of Zest framework.