bubb/mailee
最新稳定版本:0.1
Composer 安装命令:
composer require bubb/mailee
包简介
Mailee API for Laravel
README 文档
README
Mailee API for Laravel
Quick start
Required setup
In the require key of composer.json file add the following
"bubb/mailee": "dev-master"
Run the composer update command
$ composer update
In your config/app.php add 'BUBB\Mailee\ServiceProvider' to the end of the $providers array
'providers' => array(
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
...
'BUBB\Mailee\ServiceProvider',
),
At the end of config/app.php add 'Mailee' => 'BUBB\Mailee\Facade' to the $aliases array
'aliases' => array(
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
...
'Mailee' => 'BUBB\Mailee\Facade',
),
Publish your config
Publish the config files:
$ php artisan config:publish bubb/mailee
Usage
Create a contact
<?php
Mailee::createContact(['name' => 'Lucas Colette', 'email' => 'lucas@bubb.com.br']);
Attach a contact to list
<?php
Mailee::createContact(['name' => 'Lucas Colette', 'email' => 'lucas@bubb.com.br'])->attachToList('MyList');
统计信息
- 总下载量: 25.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-29