diff --git a/composer.json b/composer.json index fedbebf..2ffb1e5 100644 --- a/composer.json +++ b/composer.json @@ -61,9 +61,7 @@ "extra": { "laravel": { "providers": [ - "Fintech\\Chat\\ChatServiceProvider", - "Fintech\\Chat\\RepositoryServiceProvider", - "Fintech\\Chat\\RouteServiceProvider" + "Fintech\\Chat\\ChatServiceProvider" ], "aliases": { "Chat": "Fintech\\Chat\\Facades\\Chat" diff --git a/src/ChatServiceProvider.php b/src/ChatServiceProvider.php index 3ad38ec..9b26fea 100644 --- a/src/ChatServiceProvider.php +++ b/src/ChatServiceProvider.php @@ -18,6 +18,9 @@ public function register() $this->mergeConfigFrom( __DIR__.'/../config/chat.php', 'fintech.chat' ); + + $this->app->register(RouteServiceProvider::class); + $this->app->register(RepositoryServiceProvider::class); } /**