php-router icon indicating copy to clipboard operation
php-router copied to clipboard

CLI supports for generating middleware and controller templates

Open peter279k opened this issue 5 years ago • 1 comments

As title, the controller and middleware templates always need to be created by developers manually every time.

It should have the way to generate common controllers and middleware templates with CLI support.

This feature is very similar with Laravel artisan make:commands. Some useful reference is available here.

@izniburak, do you have any idea about this? Or maybe this feature can be another repository? (it's like php-router-cli)

peter279k avatar Jan 31 '20 08:01 peter279k

We can think about that. It isn't urgent but it sounds good.

izniburak avatar Feb 05 '20 21:02 izniburak