Getting Started
Senddera is built with extensibility at its core. Unlike other platforms that require you to fork the main repository, Senddera allows you to extend functionality through a robust plugin system.
// Create a new plugin
php artisan senddera:make-plugin MyUniquePlugin
This command creates a new directory in storage/app/plugins/ with the necessary boilerplate to get you started.
Plugin Architecture
A Senddera plugin is a self-contained module that can include its own routes, controllers, views, assets, and translations. It uses a PSR-4 autoloader and a Plugin.php entry point.
Hook System — 4 Patterns
Senddera uses four main patterns to allow plugins to interact with the core system without modifications.
1. REGISTRY
Register new components, drivers, or settings pages. Example: Adding a new SMS sending gateway.
2. EVENT
Listen for system events and react. Example: Syncing a subscriber to an external CRM after signup.
3. BEHAVIOR
Modify how the core system behaves in specific scenarios. Example: Customizing the bounce processing logic.
4. FILTER
Transform data before it is saved or displayed. Example: Adding custom merge tags to email content.