From 60ad613ca3fc0ccbbddc940efe300ffb60b26b90 Mon Sep 17 00:00:00 2001 From: Loann Meignant Date: Thu, 9 Apr 2020 17:21:16 +0200 Subject: [PATCH] Modifying provider --- README.md | 12 ++++++++++-- src/BMailServiceProvider.php | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) 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'); } }