Download the PHP package silvershop-suite/newsletter without Composer

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

silvershop-suite/newsletter

Newsletter signup, marketing consent, double opt-in and queued ESP (email-service-provider) synchronisation for SilverStripe 6 / SilverShop.

Every shop gets a working local newsletter list out of the box — a footer/sidebar signup form, a checkout opt-in checkbox, GDPR-friendly double opt-in, one-click unsubscribe, an explicit timestamped marketing-consent record, a subscribers admin and report — with zero ESP configured. Adding an ESP is purely additive: install a thin adapter module (e.g. silvershop-suite/newsletter-campaignmonitor), set it as the active provider, and every subscriber change is pushed to the ESP as a retryable, auditable background job. The ESP owns the campaigns; this module owns capture, consent and sync.

Requirements

silvershop/core is a soft dependency (suggested, not required). The subscriber model, signup form, consent, double opt-in, unsubscribe, the admin/report and ESP sync all work on any SilverStripe 6 site. The checkout opt-in checkbox, the account "Email preferences" section and the order/ecommerce hook points only light up when silvershop/core is installed (attached behind class_exists() guards in _config.php).

Other soft dependencies, all guarded: silvershop-suite/store-profile (sender identity), silverstripe/spamprotection (form protection), tractorcow/silverstripe-fluent (per-locale lists).

Installation

Then run dev/build?flush=1.

queuedjobs needs one OS cron entry to process the queue. Add (as your web user):

After that, all shop scheduling — including newsletter ESP sync — is visible in the CMS under Jobs.

What you get

The local list (no ESP needed)

Marketing consent is here

NewsletterSubscription is the canonical marketing-consent source of truth for the shop — explicit Consent flag

ESP providers

The core ships a NewsletterProvider interface + a config-driven NewsletterProviderRegistry + a default local (no-op) provider. An ESP adapter is a thin module that implements NewsletterProvider (subscribe / update / unsubscribe / syncAll, capability flags, and webhook verify/parse) and registers itself:

With a remote provider active and configured:

Because this module already does double opt-in, configure the ESP list as single opt-in — don't make the ESP send its own confirmation email on top of ours.

Configuration

Development

The three core-integration extensions (NewsletterCheckoutExtension, NewsletterOrderExtension, NewsletterAccountExtension) reference silvershop/core and are therefore excluded from the standalone phpstan run (core is a soft dependency, absent from the core-less analysis); they are exercised on a live shop.

License

BSD-3-Clause.

Credits

Built and maintained by Remy Vaartjes ([email protected]) — part of the SilverShop-Suite.


All versions of newsletter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
silverstripe/framework Version ^6
silverstripe/cms Version ^6
silverstripe/siteconfig Version ^6
silverstripe/admin Version ^3
silverstripe/reports Version ^6
symbiote/silverstripe-queuedjobs Version ^6.2
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 silvershop-suite/newsletter contains the following files

Loading the files please wait ...