<?php

namespace Prolougetech\Big;

use Illuminate\Support\ServiceProvider;

class BigServiceProvider extends ServiceProvider
{
    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    protected $defer = true;

    /**
     * Perform post-registration booting of services.
     *
     * @return void
     */
    public function boot()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/prologue-big.php', 'services');
    }

    /**
     * Register bindings for our big wrapper in our container
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton(Big::class, function ($app) {
            return new Big();
        });
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
        return [Big::class];
    }
}

<?php

namespace Prolougetech\Big;

use Illuminate\Support\ServiceProvider;

class BigServiceProvider extends ServiceProvider
{
    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    protected $defer = true;

    /**
     * Perform post-registration booting of services.
     *
     * @return void
     */
    public function boot()
    {
        $configPath = __DIR__ . '/../config/prologue-big.php';
        $this->publishes([
            $configPath => config_path('prologue-big.php'),
        ], 'config');
    }

    /**
     * Register bindings for our big wrapper in our container
     *
     * @return void
     */
    public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/prologue-big.php', 'prologue-big');

        $this->app->singleton(Big::class, function ($app) {
            return new Big();
        });
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
        return [Big::class];
    }
}

Fix publishing our config file.
Fix publishing our config file.
