mozzy / craft-connector
Craft CMS error, inventory, queue, and scheduled-task reporting for Mozzy Assistance.
Package info
github.com/jubbot/mozzy-craft-connector
Type:craft-plugin
pkg:composer/mozzy/craft-connector
Requires
- php: ^8.2
- craftcms/cms: ^5.3
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Server-side Craft CMS 5 connector for Mozzy Connector Protocol v1. It reports application exceptions, Craft/plugin inventory, queue depth, scheduled sync health, and heartbeats without adding browser-side code.
Install
composer require mozzy/craft-connector php craft plugin/install mozzy
Add the credentials from the Mozzy Assistance setup guide to the Craft project's .env file:
MOZZY_ENABLED=true MOZZY_ENDPOINT=https://your-mozzy-host.example/api/v1/assistance/events MOZZY_ASSISTANCE_TOKEN=mz_live_...
The token is read from the environment and is not saved to Craft project config. Test it with:
php craft mozzy/sync/test
Run a complete sync every 15 minutes:
*/15 * * * * cd /path/to/craft-project && php craft mozzy/sync
Capabilities
- Heartbeat and sanitized application exception reporting
- Craft core and installed-plugin inventory
- Queue depth and connector cron health
- Stable event payloads across transport retries
The v1 connector does not provide backups, plugin updates, protected maintenance, content access, or automatic rollback. It does not transmit request bodies, cookies, sessions, user records, entry content, or environment variables.