protected function registerComposerBindings() { $this->singleton('composer', function ($app) { return new Composer($app->make('files'), $this->basePath()); }); }