You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pingpong modules docs tell us to use StudlyCase, since we use psr-4 to autoloading the things but, now, I'm having some troubles.
I use the following command: php artisan module:make Client-invoice
This, create a module folder ClientInvoice. So far so good!!
Problems:
If I go to modules/ClientInvoice/Seeders, I will have a file, also created by the command above, name CandidateInvoiceDatabaseSeeder.php. Inside this file we have the namespace: namespace Modules\Candidateinvoice\Database\Seeders;
Did you notice? The module name is not StudlyCase... We should have CandidateInvoice instead of Candidateinvoice. This is not a problem for windows systems, but for linux, could be a problem.
And there's more places where this happens, for instance: Modules\Candidateinvoice\Providers\CandidateInvoiceServiceProvider.php
Any solution?
Thanks in advance.
Best wishes.
Marcelo
The text was updated successfully, but these errors were encountered:
Hi all,
pingpong modules docs tell us to use StudlyCase, since we use psr-4 to autoloading the things but, now, I'm having some troubles.
I use the following command:
php artisan module:make Client-invoice
This, create a module folder ClientInvoice. So far so good!!
Problems:
If I go to modules/ClientInvoice/Seeders, I will have a file, also created by the command above, name CandidateInvoiceDatabaseSeeder.php. Inside this file we have the namespace:
namespace Modules\Candidateinvoice\Database\Seeders;
Did you notice? The module name is not StudlyCase... We should have CandidateInvoice instead of Candidateinvoice. This is not a problem for windows systems, but for linux, could be a problem.
And there's more places where this happens, for instance:
Modules\Candidateinvoice\Providers\CandidateInvoiceServiceProvider.php
Any solution?
Thanks in advance.
Best wishes.
Marcelo
The text was updated successfully, but these errors were encountered: