@marvalt/plister
v0.3.0
Published
MarVAlt adapter for PHPList v3 integration (React + static newsletter generator)
Maintainers
Readme
@marvalt/plister
PHPList v3 integration for DigiValt: static newsletter archive, subscribe, preferences, forward-to-friend, and proxied web view.
Install
npm install @marvalt/plister @tanstack/react-queryDocumentation
- docs/README.md
- After install:
node_modules/@marvalt/plister/docs/README.md - WordPress
[phplist_subscribe]: docs/SHORTCODES.md (node_modules/@marvalt/plister/docs/SHORTCODES.md)
Quick start
- Set env vars (see docs/ENVIRONMENT.md).
- Run static generation via
@marvalt/digivalt-core/generatorsor@marvalt/plister/generators. - Import components from
@marvalt/plisterin your React routes (see docs/IMPLEMENTATION.md). - Install PHPList plugin from
phplist-plugin/for Deploy Hook rebuilds on send.
Exports
| Subpath | Use |
|---------|-----|
| @marvalt/plister | React components, client, static data loader, WordPress shortcode handlers |
| @marvalt/plister/generators | Build-time phplist-data.json |
| @marvalt/plister/server | handlePhplistProxy for Cloudflare Pages |
