سؤال

I'm trying to make a resource controller in my package but i'm not sure how to do it.

Normally I would use:

php artisan controller:make MyController

But how can I make it so this is created in my package?

هل كانت مفيدة؟

المحلول

If you take a look at php artisan help controller:make you will see that there is a path option, so I guess that's what you're looking for.

Another option would be to explore the workbench which will make things easier while developing a package

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top