-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console #325
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
console
so 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
Zest
Skeleton it should added toApp/Config/Console.php
It also have few internals commands
Here is snapshot of list command
@peter279k and @Maikuolan what do yo think about this approach?
The
symfony console
exists no matter, but i love to reinvent wheel, and the motive of Zest framework.