for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace mtolhuijs\LDS;
use Illuminate\Support\ServiceProvider;
class DatabaseSynchronizerServiceProvider extends ServiceProvider
{
/**
* Perform post-registration booting of services.
*
* @return void
*/
public function boot()
if ($this->app->runningInConsole()) {
$this->bootForConsole();
}
$this->publishes([
__DIR__.'/../config/database-synchronizer.php' => config_path('database-synchronizer.php'),
]);
* Register any package services.
public function register()
$this->mergeConfigFrom(__DIR__.'/../config/database-synchronizer.php', 'database-synchronizer');
* Console-specific booting.
protected function bootForConsole()
$this->commands([
Commands\Synchronise::class,