diff --git a/src/PennylaneLaravelFacade.php b/src/PennylaneLaravelFacade.php deleted file mode 100644 index dfe1c67..0000000 --- a/src/PennylaneLaravelFacade.php +++ /dev/null @@ -1,21 +0,0 @@ -mergeConfigFrom(__DIR__.'/../config/config.php', 'pennylane-laravel'); - $client = new \GuzzleHttp\Client([ + $client = new Client([ 'base_uri' => config('pennylane-laravel.endpoint'), 'headers' => [ "Authorization" => "Bearer ".config('pennylane-laravel.key') @@ -60,7 +62,7 @@ public function register() ]); // Register the main class to use with the facade - $this->app->singleton('pennylane-laravel', function () use ($client) { + $this->app->singleton(PennylaneLaravel::class, function () use ($client) { return new PennylaneLaravel($client); }); }