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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nettmail-laravel

NettMail Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

License

The MIT License (MIT). Please see License File for more information.


All versions of nettmail-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nettsite/nettmail-laravel contains the following files

Loading the files please wait ...