Download the PHP package nasimail/laravel-client without Composer
On this page you can find all versions of the php package nasimail/laravel-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nasimail/laravel-client
More information about nasimail/laravel-client
Files in nasimail/laravel-client
Package laravel-client
Short Description Laravel client package for NasiMail with API and Laravel Mail drivers.
License MIT
Informations about the package laravel-client
NasiMail Laravel Client (Local Package)
This package provides a Laravel client with two delivery drivers:
api: send messages to a NasiMail API instance via HTTP.mail: send using Laravel's mail transport (MAIL_MAILER, etc.).
Supported Laravel versions: 8.x to 12.x.
Note: the custom MAIL_MAILER=nasimail transport is available on Laravel 9+.
On Laravel 8, use the package api or mail driver via NasiMailClient.
Docs
- Changelog:
CHANGELOG.md - Wiki:
WIKI.md
Testing
Run tests locally:
CI validates Laravel 8 through 12 with a PHP/Laravel matrix:
- Laravel 8.83 on PHP 8.1
- Laravel 9.52 on PHP 8.1
- Laravel 10.48 on PHP 8.2
- Laravel 11.x on PHP 8.3
- Laravel 12.x on PHP 8.4
Install in this monorepo
-
Add a path repository in your app
composer.json: -
Require the package:
- Publish config:
Config
Set in .env:
For Laravel mail transport mode:
For custom transport mode via Laravel Mail:
The package now registers a default mail.mailers.nasimail entry automatically.
If your app overrides config/mail.php, you can add this explicitly:
Usage
Troubleshooting
If you see Mailer [nasimail] is not defined:
- Ensure the package service provider is loaded.
-
Ensure
.envincludes: - Clear cached configuration:
All versions of laravel-client with dependencies
illuminate/support Version ^8.83|^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^8.83|^9.0|^10.0|^11.0|^12.0
illuminate/mail Version ^8.83|^9.0|^10.0|^11.0|^12.0