Download the PHP package nettsite/nettmail-laravel without Composer
On this page you can find all versions of the php package nettsite/nettmail-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nettsite/nettmail-laravel
More information about nettsite/nettmail-laravel
Files in nettsite/nettmail-laravel
Package nettmail-laravel
Short Description NettMail Laravel package - Eloquent models, service provider, queued jobs, and Livewire admin UI for the NettMail core package
License MIT
Homepage https://github.com/nettsite/nettmail-laravel
Informations about the package nettmail-laravel
NettMail Laravel
Laravel adapter for nettmail/core — Eloquent models, service provider, queued jobs, and Livewire admin UI for the NettMail email package.
Installation
You can install the package via composer:
Run the migrations (the package loads its own migrations — do not publish them, or they will run twice):
You can publish the config file with:
The config file lets you configure the mail driver (php, smtp, resend, mailersend, mailgun, postmark, ses), default sender identity, bounce mailbox, sending rate limit, retention period, and CAN-SPAM compliance address. See config/nettmail.php after publishing for the full list of options.
Optionally, you can publish the views using
The template editor uses GrapesJS with the newsletter preset, bundled as a prebuilt asset — fully self-hosted, no external service or account required.
Publish the editor asset with:
This copies grapesjs-editor.js and grapesjs-editor.css to public/vendor/nettmail. Re-run this command after upgrading the package to pick up editor updates.
The admin UI is mounted at /nettmail (configurable via NETTMAIL_ROUTES_PREFIX) behind the web and auth middleware (configurable via routes.middleware). It includes pages for the dashboard, contacts, lists, segments, campaigns, templates, and settings.
Usage
Scheduler
NettMail ships several artisan commands that should run on a schedule. Register them in your host app's bootstrap/app.php:
If you've registered a contact source (see below), keep contacts in sync on a schedule too:
Contact sources
NettMail keeps its own copy of contacts (nettmail_contacts) and syncs them from your host app via a ContactSourceContract implementation, registered with ContactSourceRegistry.
Register it in a service provider's boot() method:
Then sync contacts on demand or via the scheduler:
Navigation
Add links to the NettMail admin pages in your host app's navigation. Routes are named nettmail.* and the configured nav group label is available via config('nettmail.nav_group'):
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Nettsite
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nettmail-laravel with dependencies
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
livewire/livewire Version ^4.3
nettsite/nettmail-core Version ^0.1
spatie/laravel-package-tools Version ^1.16
webklex/php-imap Version ^6.0