-
app/Providers/AppServiceProvider.php
Open in GitHubuse App\Support\Vimeo\Vimeo; use GuzzleHttp\Client; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() { // app()->singleton(Vimeo::class, function () { return new Vimeo(new Client([ 'headers' => [ 'Authorization' => 'Bearer '.config('services.vimeo.access'), ] ])); }); // } }