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
|
```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()
|
public function register()
|
||||||
{
|
{
|
||||||
$this->mergeConfigFrom(
|
$this->mergeConfigFrom(
|
||||||
__DIR__.'/../config/services.php',
|
__DIR__ . '/../config/services.php',
|
||||||
'bmail'
|
'services'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class BMailServiceProvider extends ServiceProvider
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$this->publishes([
|
$this->publishes([
|
||||||
__DIR__.'/../config/services.php' => config_path('services.php')
|
__DIR__ . '/../config/services.php' => config_path('services.php')
|
||||||
], 'config');
|
], 'config');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue