for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the overtrue/laravel-versionable.
*
* (c) overtrue <[email protected]>
* This source file is subject to the MIT license that is bundled.
*/
namespace Overtrue\LaravelVersionable;
/**
* Class ServiceProvider.
class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
public function boot()
$this->loadMigrationsFrom(__DIR__.'/../migrations');
$this->publishes([
__DIR__.'/../migrations' => \database_path('migrations'),
], 'migrations');
__DIR__.'/../config/versionable.php' => \config_path('versionable.php'),
], 'config');
}
public function register()
$this->mergeConfigFrom(
__DIR__.'/../config/versionable.php', 'versionable'
);