Download the PHP package emailit/emailit-laravel without Composer
On this page you can find all versions of the php package emailit/emailit-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package emailit-laravel
Emailit Laravel
Laravel integration for the Emailit Email API. Provides a mail transport, a Facade, and full access to the Emailit PHP SDK.
Requirements
- PHP 8.1+
- Laravel 10, 11, or 12
Installation
The package auto-discovers its service provider — no manual registration needed.
Configuration
Add your API key to .env:
Set Emailit as your mail transport in .env:
Add the emailit mailer to your config/mail.php mailers array:
Publish Config (optional)
This publishes config/emailit.php where you can customize the API base URL if needed.
Usage
Using Laravel Mail (recommended)
Once configured as your mail transport, all of Laravel's mail features work out of the box:
With a Mailable:
Using the Facade
The Emailit facade gives you direct access to the full Emailit PHP SDK:
Send with a Template
Manage Domains
Manage Contacts
Verify Email Addresses
All Available Services
The Facade exposes every service from the PHP SDK:
| Service | Property | Description |
|---|---|---|
| Emails | Emailit::emails() |
Send, list, get, cancel, retry emails |
| Domains | Emailit::domains() |
Create, verify, list, manage sending domains |
| API Keys | Emailit::apiKeys() |
Create, list, manage API keys |
| Audiences | Emailit::audiences() |
Create, list, manage audiences |
| Subscribers | Emailit::subscribers() |
Add, list, manage subscribers |
| Templates | Emailit::templates() |
Create, list, publish email templates |
| Suppressions | Emailit::suppressions() |
Create, list, manage suppressed addresses |
| Email Verifications | Emailit::emailVerifications() |
Verify email addresses |
| Email Verification Lists | Emailit::emailVerificationLists() |
Bulk email verification |
| Webhooks | Emailit::webhooks() |
Create, list, manage webhooks |
| Contacts | Emailit::contacts() |
Create, list, manage contacts |
| Events | Emailit::events() |
List and retrieve events |
Error Handling
Dependency Injection
You can also inject the client directly instead of using the Facade:
License
MIT — see LICENSE for details.
All versions of emailit-laravel with dependencies
emailit/emailit-php Version ^2.0
illuminate/mail Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0