I used to work with yii2, now I switched to Laravel, I need to generate a module where the functionality will be located. It is necessary that there is an opportunity to configure this module to specify parameters. How to do it just do not understand.
Closed due to the fact that the essence of the question is not clear to the participants of Kromster , Vanya Avchyan , Viktor Tomilov , 0xdb , AK ♦ Mar 5 '18 at 6:44 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
1 answer
Creating a model artisa team:
php artisan make:model ModelName -m The -m switch indicates that a migration will be created.
Creating an artisa controller with the command:
php artisan make:controller MyController - I do not understand, what are you talking about? I described above the module - modelfak
|