for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Frowhy\Modular;
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
class ServiceProvider extends LaravelServiceProvider
{
public function boot()
$this->publishes([
dirname(__DIR__).'/config/repository.php' => config_path('repository.php'),
], 'modular-config');
dirname(__DIR__).'/config/modules.php' => config_path('modules.php'),
dirname(__DIR__).'/stubs/example' => base_path('modules/Example'),
], 'modular-example');
}
public function register()
$this->mergeConfigFrom(
dirname(__DIR__).'/config/repository.php', 'repository'
);
dirname(__DIR__).'/config/modules.php', 'modules'