for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SoareCostin\LaravelToggleSwitchFields;
use Illuminate\Support\ServiceProvider;
class ToggleSwitchFieldsServiceProvider extends ServiceProvider
{
public function boot()
$this->publishes([
__DIR__.'/../config/config.php' => config_path('toggle_switch_fields.php'),
], 'config');
}
public function register()
$this->app->bind('laravel-toggle-switch-fields', function () {
return new ToggleSwitchFields();
});
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'toggle_switch_fields');