public function boot() { $this->publishes([__DIR__ . '/../config/modules.php' => config_path('modules.php')], 'config'); $this->app['modules']->register(); }