Skip to content

mivodev/plugin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Download the plugin ZIP file.
  2. Go to Mivo > Settings > Plugins.
  3. Click Upload Plugin and select the ZIP file.
  4. 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-test to 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages