bubb/mailee is a Laravel package for mailee api for laravel.
It currently has 2 GitHub stars and 25.566 downloads on Packagist (latest version 0.1).
Install it with composer require bubb/mailee.
Discover more Laravel packages by bubb
or browse all Laravel packages to compare alternatives.
Last updated
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' => '[email protected]']);
<?php
Mailee::createContact(['name' => 'Lucas Colette', 'email' => '[email protected]'])->attachToList('MyList');