public function register() { $this->mergeConfigFrom(__DIR__ . '/config/config.php', 'react'); $this->app['react'] = $this->app->share(function ($app) { return $app->make('AllanTatter\\React\\React'); }); }