Skip to content

CLI supports for generating middleware and controller templates #22

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

Open
peter279k opened this issue Jan 31, 2020 · 1 comment
Open

Comments

@peter279k
Copy link
Contributor

peter279k commented Jan 31, 2020

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)

@izniburak
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants