Download the PHP package directksa/directmail-mailer without Composer
On this page you can find all versions of the php package directksa/directmail-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download directksa/directmail-mailer
More information about directksa/directmail-mailer
Files in directksa/directmail-mailer
Package directmail-mailer
Short Description Symfony Directmail Mailer Bridge - DirectKSA internal mail relay service
License MIT
Homepage https://directksa.com
Informations about the package directmail-mailer
Directmail Bridge
Provides Directmail integration for Symfony Mailer - DirectKSA's internal mail relay service.
This transport allows Laravel applications to send emails through a centralized directmail service instead of directly to email providers like AWS SES, Mailgun, Postmark, etc.
Installation
-
Install the package:
-
Add DirectMail to your mail configuration:
Option A: Automatic (Recommended)
Option B: Manual Add this to your
config/mail.phpfile'smailersarray: -
Add your credentials to
.env: - Start sending emails:
Note: Step 2 is required - the package needs to be configured in your
mail.phpfile to work. You can either use the install command or add the configuration manually.
Environment Variables
Production
Local Development
The transport automatically detects:
.testdomains → HTTP (for local development)- All other domains → HTTPS (for production)
Usage
Use Laravel's mail functionality as normal:
Authentication
The transport uses app_key:app_secret format in the Authorization header:
Features
- ✅ Surgical Installation -
php artisan directmail:installadds config without touching anything else - ✅ Zero Configuration - Just set environment variables and go
- ✅ Smart HTTPS/HTTP Detection - Uses
.testdomains for local development - ✅ Ultra-minimal - Only 3-4 environment variables needed
- ✅ HTML and Text email support
- ✅ Attachments (base64 encoded)
- ✅ CC/BCC recipients
- ✅ Reply-To addresses
- ✅ Custom headers, tags, and metadata
- ✅ Error handling and logging
- ✅ Package Discovery - Auto-registers everything
- ❌ SMTP support (API only)