dev #1
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
|
@ -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": {
|
||||
"guzzlehttp/guzzle": "^6.5"
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
]);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue