diff --git a/README.md b/README.md index 34bded7..46e97e6 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,16 @@ and ] ``` -Then update your file : +Then update your package file : ```bash -composer update +composer update bluescale/laravel-mail ``` + +Finally publish the assets from your provider : + +```bash +php artisan vendor:publish +``` + + diff --git a/src/BMailServiceProvider.php b/src/BMailServiceProvider.php index 844afac..81426c9 100644 --- a/src/BMailServiceProvider.php +++ b/src/BMailServiceProvider.php @@ -16,8 +16,8 @@ class BMailServiceProvider extends ServiceProvider public function register() { $this->mergeConfigFrom( - __DIR__.'/../config/services.php', - 'bmail' + __DIR__ . '/../config/services.php', + 'services' ); } @@ -29,7 +29,7 @@ class BMailServiceProvider extends ServiceProvider public function boot() { $this->publishes([ - __DIR__.'/../config/services.php' => config_path('services.php') + __DIR__ . '/../config/services.php' => config_path('services.php') ], 'config'); } }