Modifying provider
This commit is contained in:
parent
a3e74da992
commit
60ad613ca3
12
README.md
12
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
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue