app->bind(Server::class, function ($app) { return Server::create([ 'source' => Storage::getDriver(), 'cache' => Storage::getDriver(), 'cache_folder' => '.glide-cache', 'base_url' => 'img', ]); }); } /** * Bootstrap any application services. * * @return void */ public function boot() { // } }