src/Providers/ApiServiceProvider.php
public function register()
    {
        $this->app->singleton('hearthstone-api', function ($app) {
            $client = new Client();

            return $client->cards();
        });

        $this->mergeConfig();
    }
public function register()
    {
        $this->app->singleton('hearthstone-api', function ($app) {
            $client = new Client();

            return $client->cards();
        });

        $this->mergeConfig();
    }
Register the service provider.