dev #1

Manually merged
Loann merged 3 commits from dev into master 2020-04-09 15:53:24 +02:00
6 changed files with 77 additions and 0 deletions
Showing only changes of commit 571a9784e9 - Show all commits

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# BMail
The BMail package allows you to send email templates on Laravel to the Bluescale API.
## Usage
In your composer.json, add :
```bash
"extra": {
"laravel": {
"providers": [
"BMail\\BMailServiceProvider"
]
}
}
```

View File

@ -1,4 +1,29 @@
{ {
"name": "bluescale/laravel-bmail",
"description": "Send email templates on Laravel to the Bluescale API.",
"keywords": [
"package",
"bluescale",
"api",
"template",
"email"
],
"homepage": "https://git.bluesquare.io/bluescale/laravel-bmail",
"license": "proprietary",
"authors": [
{
"name": "Bluesquare",
"email": "contact@bluesquare.io",
"homepage": "https://bluesquare.io/",
"role": "Developers"
}
],
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"BMail\\": "BMail/src/"
}
},
"require": { "require": {
"guzzlehttp/guzzle": "^6.5" "guzzlehttp/guzzle": "^6.5"
} }

View File

@ -0,0 +1,35 @@
<?php
namespace BMail;
use Illuminate\Support\ServiceProvider;
class BMailServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(
__DIR__.'/../config/services.php',
'bmail'
);
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
$this->publishes([
__DIR__.'/../config/services.php' => config_path('services.php')
]);
}
}