Download the PHP package mail-craft/mailcraft-laravel without Composer
On this page you can find all versions of the php package mail-craft/mailcraft-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mail-craft/mailcraft-laravel
More information about mail-craft/mailcraft-laravel
Files in mail-craft/mailcraft-laravel
Package mailcraft-laravel
Short Description Official Laravel integration for MailCraft — a Mail transport, facade, and config publishing on top of mail-craft/mailcraft-php.
License MIT
Homepage https://github.com/mail-craft/mailcraft-laravel
Informations about the package mailcraft-laravel
mail-craft/mailcraft-laravel
Official Laravel integration for MailCraft — wraps mail-craft/mailcraft-php with a Mail transport, a facade, and config publishing.
Install
Publish the config (optional — it works from env vars alone):
Usage
As a Mail transport (zero code changes)
With MAIL_MAILER=mailcraft set, every existing Mail::send(...) / Mailable / notification call routes through MailCraft automatically:
The package converts the Symfony MIME message Laravel builds into the structured fields MailCraft's API expects (from/to/subject/html/text/headers) — no raw-MIME endpoint required.
Using the client/facade directly
For anything beyond sending mail — contacts, campaigns, templates, domains, etc. — use the facade or inject the client:
Both styles reach the same underlying resources — see mail-craft/mailcraft-php's README for the full resource list.
Requirements
PHP 8.1+, Laravel 10, 11, 12, or 13.
License
MIT
All versions of mailcraft-laravel with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/mail Version ^10.0|^11.0|^12.0|^13.0
symfony/mailer Version ^6.0|^7.0|^8.0
mail-craft/mailcraft-php Version ^0.1.0