Overview
Senddera provides several "slots" or targets where plugins can inject HTML, components, or even full pages. This allows you to add custom settings, buttons, or dashboards without modifying core files.
Injection Targets
- navbar.left / navbar.right: Add icons or dropdowns to the top navigation bar.
- sidebar.menu: Add new items to the main sidebar navigation.
- campaign.editor.toolbar: Add buttons to the email builder toolbar.
- subscriber.profile.tabs: Add new tabs to the subscriber details page.
Example Usage
// In your Plugin.php
public function boot()
{
\Hook::add('sidebar.menu', function($menu) {
$menu->add('My Plugin', route('my-plugin.index'), 'lucide-package');
});
}