Download the PHP package dinara/email-marketing without Composer

On this page you can find all versions of the php package dinara/email-marketing. 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 email-marketing

Laravel Email Marketing

A comprehensive email marketing package for Laravel with campaigns, templates, tracking, and rate limiting. SaaS-ready with multi-tenancy support.

Features

Requirements

Installation

Run migrations:

Optionally publish configuration:

Optionally publish views for customization:

Configuration

Minimal Setup

Add to your .env file:

That's it! The package works out of the box with:

Full Configuration

Multi-tenancy (SaaS)

For SaaS applications with multiple tenants, configure a tenant resolver in config/email-marketing.php:

Each tenant will have their own SMTP settings stored in the email_smtp_settings table.

Example with Spatie Laravel Multitenancy:

Usage

Access Admin Panel

Navigate to /admin/email-marketing (or your configured prefix).

Available Routes

Route Description
email-marketing.index Dashboard
email-marketing.smtp SMTP Settings
email-marketing.templates Template List
email-marketing.templates.create Create Template
email-marketing.campaigns Campaign List
email-marketing.campaigns.create Create Campaign

Template Variables

Templates support the following variables:

Variable Description
{{hotel_name}} Company/recipient name
{{contact_name}} Contact person name
{{contact_email}} Recipient email
{{current_date}} Current date
{{sender_name}} Sender name
{{sender_company}} Sender company
{{logo_url}} Company logo URL
{{site_url}} Website URL
{{site_name}} Website name

Running Queue Worker

For sending emails via queue:

Or use Laravel Horizon for Redis queues:

Programmatic Usage

Database Tables

The package creates the following tables:

Tracking

Open Tracking

Emails automatically include a 1x1 transparent tracking pixel. Opens are recorded with:

Click Tracking

All links in emails are automatically wrapped with tracking URLs. Clicks record:

Bounce Detection

The package automatically detects bounced emails based on SMTP error codes (550, 551, 552, 553, 554) and common error messages. Bounced recipients are marked with email_invalid = true.

Customization

Custom Lead Model

Your lead model should have at least:

Custom Views

Publish and modify views:

Views will be copied to resources/views/vendor/email-marketing/.

Custom Layout

Set your admin layout in .env:

Your layout should have a content section:

Events

The package dispatches events you can listen to:

License

MIT License. See LICENSE for details.

Contributing

Contributions are welcome! Please submit a Pull Request.

Support

For issues and feature requests, please use the GitHub issue tracker.


All versions of email-marketing with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/mail Version ^8.0|^9.0|^10.0|^11.0
illuminate/queue Version ^8.0|^9.0|^10.0|^11.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 dinara/email-marketing contains the following files

Loading the files please wait ...