netflex / notifications
Netflex Notifications Mail Driver for Laravel
v7.0.1
2026-06-03 14:22 UTC
Requires
- php: ^8.4
- illuminate/bus: ^13.0
- illuminate/mail: ^13.0
- illuminate/notifications: ^13.0
- illuminate/support: ^13.0
- mustache/mustache: ^2.14.1
- netflex/api: ^7.0
- netflex/foundation: ^7.0
- netflex/renderer: ^7.0
This package is auto-updated.
Last update: 2026-06-03 15:49:16 UTC
README
[READ ONLY] Subtree split of the Netflex Notification component (see netflex/framework)
Installation
composer require netflex/notifications
Setup
In config/mail.php:
[ 'driver' => env('MAIL_DRIVER', 'netflex') ]
Usage
You can use this driver to send any Mailables. It also integrates with Laravels Notification system (and adds a 'sms' channel, just implement toSMS on your notification).
<?php use App\Mail\OrderConfirmed; Mail::to($request->user())->send(new OrderConfirmed($order));
It also supports the legacy Netflex mail templates:
<?php use Netflex\Notifications\Notification; Mail::to($request->user())->send( Notification::resolve('order_confirmed', [ 'firstname' => $order->customer_firstname ]) );