for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Lanin\Laravel\SetupWizard;
use Illuminate\Support\ServiceProvider;
use Lanin\Laravel\SetupWizard\Commands\Setup;
class SetupWizardServiceProvider extends ServiceProvider
{
/**
* Bootstrap application service.
*/
public function boot()
$this->publishes([
__DIR__ . '/../config/setup.php' => config_path('setup.php'),
], 'setup');
}
* Register the service provider.
*
* @return void
public function register()
$this->registerCommand();
$this->registerConfig();
* Register setup command.
protected function registerCommand()
$this->app->bind('setup-wizard.setup', Setup::class);
$this->commands('setup-wizard.setup');
* Register setup config.
protected function registerConfig()
$this->mergeConfigFrom(
__DIR__ . '/../config/setup.php',
'setup'
);
* Get the services provided by the provider.
* @return array
public function provides()
return [
'setup-wizard.setup',
];