PHPackages                             pullrequestinc/sendwithus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. pullrequestinc/sendwithus

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

pullrequestinc/sendwithus
=========================

Laravel 5+ bindings for Sendwithus transactional email API

0.1.7(1y ago)378.9k—6.1%2MITPHPPHP ~8.0|~7.0

Since Jul 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/PullRequestInc/sendwithus)[ Packagist](https://packagist.org/packages/pullrequestinc/sendwithus)[ Docs](https://github.com/PullRequest/sendwithus)[ RSS](/packages/pullrequestinc-sendwithus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (11)Used By (0)

sendwithus
==========

[](#sendwithus)

[![Latest Version on Packagist](https://camo.githubusercontent.com/219d90537e3481e8205398e077ec2412c9b6692eed0285568712e6a45792edf1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f50756c6c52657175657374496e632f73656e647769746875732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PullRequestInc/sendwithus)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Laravel5+ bindings for the excellent email service sendwithus. Wraps [https://github.com/sendwithus/sendwithus\_php](https://github.com/sendwithus/sendwithus_php) with a facade and client manager.

Structure
---------

[](#structure)

```
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require PullRequestInc/sendwithus
```

Now add PullRequestInc\\sendwithus\\SendwithusServiceProvider::class to your config/app.php's providers and 'Sendwithus' =&gt; 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;

Usage
-----

[](#usage)

```
