Package Data | |
---|---|
Maintainer Username: | lyal |
Maintainer Contact: | hello@pullrequest.com (PullRequest, Inc.) |
Package Create Date: | 2017-07-23 |
Package Last Update: | 2024-03-14 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:02:02 |
Package Statistics | |
---|---|
Total Downloads: | 52,445 |
Monthly Downloads: | 1,999 |
Daily Downloads: | 40 |
Total Stars: | 2 |
Total Watchers: | 4 |
Total Forks: | 4 |
Total Open Issues: | 0 |
Laravel5+ bindings for the excellent email service sendwithus. Wraps https://github.com/sendwithus/sendwithus_php with a facade and client manager.
config/
src/
tests/
vendor/
Via Composer
$ composer require PullRequestInc/sendwithus
Now add PullRequestInc\sendwithus\SendwithusServiceProvider::class to your config/app.php's providers and 'Sendwithus' => PullRequestInc\sendwithus\Facades\Sendwithus::class to the aliases.
$ php artisan vendor:publish
Next, update your .env files with your sendwithus API keys.
SENDWITHUS_API_KEY_PRODUCTION=..................
SENDWITHUS_API_KEY_TESTING=....................
Other environment variables you can set:
SENDWITHUS_API_DEFAULT_KEY (production|testing) Default: production
SENDWITHUS_DEBUG (true|false) Default: false;
<?php
$emails = Sendwithus::emails();
Please see CHANGELOG for more information on what has changed recently.
$ phpunit
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email lyal@pullrequest.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.