<?php

namespace Asvae\ApiTester;

use Asvae\ApiTester\Contracts\RouteRepositoryInterface;
use Asvae\ApiTester\Providers\RouteServiceProvider;

class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
    public function register()
    {
        $this->app->register(RouteServiceProvider::class);
        $this->mergeConfigFrom(__DIR__.'/../config/api-tester.php',
            'api-tester');

        $this->app->bind(RouteRepositoryInterface::class,
            config('api-tester.repository'));
    }

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

<?php

namespace Asvae\ApiTester;

use Asvae\ApiTester\Contracts\RouteRepositoryInterface;
use Asvae\ApiTester\Providers\RouteServiceProvider;

class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
    public function register()
    {
        $this->app->register(RouteServiceProvider::class);
        $this->mergeConfigFrom(__DIR__.'/../config/api-tester.php',
            'api-tester');

        $this->app->bind(RouteRepositoryInterface::class,
            config('api-tester.repository'));
    }

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

Fix for broken config file publication
Fix for broken config file publication

Fixed a broken link: to enable publication of the configuration (`config/api-tester.php`) through the existing `php artisan vendor:publish --provider="Asvae\ApiTester\ServiceProvider"` artisan command.