| Package Data | |
|---|---|
| Maintainer Username: | lucascolette |
| Maintainer Contact: | lucas@bubb.com.br (Lucas Colette) |
| Package Create Date: | 2014-05-28 |
| Package Last Update: | 2015-05-22 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-07 15:00:19 |
| Package Statistics | |
|---|---|
| Total Downloads: | 25,459 |
| Monthly Downloads: | 23 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
Mailee API for Laravel
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 the config files:
$ php artisan config:publish bubb/mailee
<?php
Mailee::createContact(['name' => 'Lucas Colette', 'email' => 'lucas@bubb.com.br']);
<?php
Mailee::createContact(['name' => 'Lucas Colette', 'email' => 'lucas@bubb.com.br'])->attachToList('MyList');