src/CkanServiceProvider.php
public function register()
    {
        $app = $this->app;

        $app->bind('Germanazo\CkanApi\CkanApiClient', function () {

            // Build http client
            $config = [
                'base_uri' => config('ckan_api.url'),
                'headers' => ['Authorization' => config('ckan_api.api_key')],
            ];

            return new CkanApiClient(new Client($config));
        });

        $app->alias('Germanazo\CkanApi\CkanApiClient', 'CkanApi');
    }
public function register()
    {
        $app = $this->app;

        $app->bind('Germanazo\CkanApi\CkanApiClient', function () {

            // Build http client
            $config = [
                'base_uri' => config('ckan_api.url'),
                'headers' => ['Authorization' => config('ckan_api.api_key')],
            ];

            return new CkanApiClient(new Client($config));
        });

        $app->alias('Germanazo\CkanApi\CkanApiClient', 'CkanApi');
    }
Register application services.

@return void