sendwithus
![Software License][ico-license], (*1)
Laravel5+ bindings for the excellent email service sendwithus. Wraps https://github.com/sendwithus/sendwithus_php with a facade and client manager., (*2)
Structure
config/
src/
tests/
vendor/
Install
Via Composer, (*3)
``` bash
$ composer require PullRequestInc/sendwithus, (*4)
Now add PullRequestInc\sendwithus\SendwithusServiceProvider::class to your config/app.php's providers
and 'Sendwithus' => PullRequestInc\sendwithus\Facades\Sendwithus::class to the aliases.
``` bash
$ php artisan vendor:publish
Next, update your .env files with your sendwithus API keys., (*5)
SENDWITHUS_API_KEY_PRODUCTION=.................., (*6)
SENDWITHUS_API_KEY_TESTING=...................., (*7)
Other environment variables you can set:, (*8)
SENDWITHUS_API_DEFAULT_KEY (production|testing) Default: production, (*9)
SENDWITHUS_DEBUG (true|false) Default: false;, (*10)
Usage
<?php
$emails = Sendwithus::emails();
Change log
Please see CHANGELOG for more information on what has changed recently., (*11)
Testing
bash
$ phpunit
, (*12)
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*13)
Security
If you discover any security related issues, please email lyal@pullrequest.com instead of using the issue tracker., (*14)
Credits
License
The MIT License (MIT). Please see License File for more information., (*15)