laravel 8 require modules code example
Example 1: laravel modules
composer require nwidart/laravel-modules
Example 2: laravel modules
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}
composer require nwidart/laravel-modules
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
}
}
}