Closed lablnet closed 3 years ago
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 :)?
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
The main purpose of Zest framework is to provide a very lightweight framework without any external dependencies except core and autoloader
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 Symfony/Console
.
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" :).
My main suggestion is: We should consider using the lightweight PHP console to build the console Zest framework.
What do you mean by light weight php console
@peter279k
You can find the console via the packagist.org site.
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 .
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.
After that this PR
will ready to merge.
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.