Download the PHP package rhysnhall/laravel-socketlabs-driver without Composer
On this page you can find all versions of the php package rhysnhall/laravel-socketlabs-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rhysnhall/laravel-socketlabs-driver
More information about rhysnhall/laravel-socketlabs-driver
Files in rhysnhall/laravel-socketlabs-driver
Package laravel-socketlabs-driver
Short Description Laravel mail driver for SocketLabs injection API.
License MIT
Informations about the package laravel-socketlabs-driver
Laravel SocketLabs Driver
Adds a driver for the SocketLabs Injection API to Laravel's email services.
Requirements
- PHP 7.3 or greater.
- A SocketLabs account with a server ID and API key.
Install
Install the package with composer.
Setup
Once you register and set up an account with SocketLabs, you'll be presented with a server ID and an API key. Add both of these to your ENV file.
Next, add the SocketLabs credentials to your config\services.php
config file.
Add the SocketLabs service provider to the config\app.php
config file.
The last step is to add the SocketLabs driver to the config\mail.php
config file.
You may also want to set SocketLabs as your default mailer, depending on your setup. You'll need to update the MAIL_MAILER
variable in your ENV file.
Config
You can directly add your config variables to the config\mail.php
config file or create a new config file to hold these.
config\mail.php
config\socketlabs.php
Usage
Use the driver as you would any other email driver.
App\Mail\Test
Contributing
Help improve this package by contributing.
Before opening a pull request, please discuss the proposed changes via Github issue or email.
License
This project is licensed under the MIT License - see the LICENSE file for details
All versions of laravel-socketlabs-driver with dependencies
illuminate/mail Version >=8
illuminate/support Version >=8
socketlabs/email-delivery Version ^1.2