This is obviously not right as I tried and it doesn't work when copying to the base /config/your-module.php
<?php
return [
'name' => 'Contact',
'contact-email' => 'department@domain.com', // Replace with your actual CC email address
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Package Service Providers...
*/
/*
* Module Service Providers...
*/
Modules\Contact\App\Providers\AppServiceProvider::class,
])->toArray(),
];
This is obviously not right as I tried and it doesn't work when copying to the base /config/your-module.php
Is there a way to do this properly?