Hello,
When I'm trying to make a module [ php artisan module:make Blog ] in Laravel 5.4.23 I'm getting the following error-
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "module" namespace.
Hi,
That means you didn't register the service provider of this package in your config/app.php file.
hello bro,
php artisan module:make Blog not work please select your command line:
->php artisan make:module Blog (then work)
add the following in app.php under providers :
'providers' => [
........
Nwidart\Modules\LaravelModulesServiceProvider::class
]
Most helpful comment
add the following in app.php under providers :