detain / myadmin-sendy-mailinglist
Sendy mailing list integration plugin for the MyAdmin control panel. Provides automated subscriber management via the Sendy API, including account-activation hooks and event-driven mailing list subscriptions.
Package info
github.com/myadmin-plugins/sendy-mailinglist
Type:myadmin-plugin
pkg:composer/detain/myadmin-sendy-mailinglist
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 21:48:39 UTC
README
Sendy mailing list integration plugin for the MyAdmin control panel. Provides automated subscriber management through the Sendy API, including event-driven hooks for account activation and mailing list subscription workflows.
Features
- Automatic mailing list subscription on account activation
- Event-driven architecture using Symfony EventDispatcher
- Configurable Sendy API endpoint, API key, and list ID via admin settings
- Toggle enable/disable from the MyAdmin settings panel
Requirements
- PHP >= 7.4
- ext-soap
- Symfony EventDispatcher ^5.0 || ^6.0 || ^7.0
Installation
composer require detain/myadmin-sendy-mailinglist
Configuration
The plugin registers four settings in the MyAdmin admin panel under Accounts > Sendy:
| Setting | Description |
|---|---|
sendy_enable |
Enable or disable Sendy integration |
sendy_api_key |
Your Sendy API key |
sendy_list_id |
The target Sendy mailing list ID |
sendy_apiurl |
Base URL of your Sendy installation |
Event Hooks
| Event | Handler | Description |
|---|---|---|
system.settings |
getSettings |
Registers admin panel settings |
account.activated |
doAccountActivated |
Subscribes user on account activation |
mailinglist.subscribe |
doMailinglistSubscribe |
Subscribes an email address to the list |
Running Tests
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license.