mirror of
https://github.com/mivodev/plugin-example.git
synced 2026-01-26 05:15:25 +07:00
v1.0.0
Example Plugin for Mivo
Category: System Tools
Author: DyzulkDev
Version: 1.0.0
This is a developer example demonstrating how to create plugins for the Mivo Hotspot Manager. It showcases the use of Hooks and Routers to extend core functionality.
Features
- Router Hook: Registers a custom page at
/plugin-test. - Head Hook: Injects custom CSS (green border) into the page head.
- Footer Hook: Injects a custom message into the page footer.
Installation
- Download the plugin ZIP file.
- Go to Mivo > Settings > Plugins.
- Click Upload Plugin and select the ZIP file.
- The plugin will immediately activate.
Verification
- Visual Check: You should see a green top border on all pages.
- Footer Check: A message "Plugin System is Working! 🚀" appears in the footer.
- Route Check: Visit
/plugin-testto see the custom page.
For Developers
Check the plugin.php file source code to understand how Hooks::addAction works for router_init, mivo_head, and mivo_footer.
Releases
1
Languages
PHP
100%