Download the PHP package xenoplexus/statamic-newsletter without Composer

On this page you can find all versions of the php package xenoplexus/statamic-newsletter. 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 statamic-newsletter

Statamic Newsletter

A Statamic addon for managing newsletters with Postmark integration. Subscribe/unsubscribe handling, welcome emails, queued batch sending, and suppression webhook support.

Features

Requirements

Installation

The install command copies the newsletter collection, blueprint, and unsubscribe page into your project.

Configuration

Add these to your .env:

Publish the full config to customize further:

Usage

Subscribe form

Use the Antlers tag in any template:

Or build your own form that POSTs to /{prefix}/subscribe with an email field.

Sending newsletters

  1. Create a newsletter entry in the CP using the newsletters collection
  2. Add an intro heading, optional intro body, and content sections
  3. Publish the entry — it automatically dispatches to all active subscribers

To resend: unpublish, set newsletter_send_count to 0, clear newsletter_sent_at, then republish.

Preview

Customizing email templates

Templates are published to resources/views/vendor/statamic-newsletter/ for editing.

Webhook

Set up a Postmark suppression webhook pointing to:

Include the X-Webhook-Token header matching your POSTMARK_WEBHOOK_TOKEN env var.

License

MIT


All versions of statamic-newsletter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
statamic/cms Version ^6.0
wildbit/postmark-php Version ^7.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 xenoplexus/statamic-newsletter contains the following files

Loading the files please wait ...