46 lines
652 B
Markdown
46 lines
652 B
Markdown
# BMail
|
|
|
|
The BMail package allows you to send email templates on Laravel to the Bluescale API.
|
|
|
|
## Usage
|
|
|
|
First in your composer.json, add :
|
|
|
|
```bash
|
|
"require": {
|
|
"bluescale/laravel-bmail": "dev-master"
|
|
}
|
|
```
|
|
|
|
and
|
|
|
|
```bash
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "git@git.bluesquare.io:bluescale/laravel-bmail.git"
|
|
}
|
|
]
|
|
```
|
|
|
|
Next update your package :
|
|
|
|
```bash
|
|
composer update bluescale/laravel-bmail
|
|
```
|
|
|
|
Then publish the assets from your provider :
|
|
|
|
```bash
|
|
php artisan vendor:publish
|
|
```
|
|
|
|
Finally add your API key in the .env :
|
|
|
|
```bash
|
|
BMAIL_API_KEY=your_key
|
|
BMAIL_API_URL=the_api_url
|
|
```
|
|
|
|
|