Mini License Manager
A mini WordPress plugin that allows website admins to easily create, update, and manage license keys. Perfect foundation for building advanced license management systems.
by Michal Ravid · github.com/michalravid/mini-license-manager
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/michalravid/mini-license-manager/archive/refs/heads/main.zipA simple WordPress plugin for managing license keys.
This project demonstrates a modern, layered folder structure combined with the standard WordPress plugin architecture, making the code more maintainable, scalable, and readable — even for beginners.
The structure is designed to allow easy future enhancements such as full CRUD operations, API endpoints, or AJAX features.
📌 Folder Structure Explanation
admin/– Contains the HTML/PHP templates used to display the admin interface.includes/– Contains the plugin’s logic, including hooks, form handling, and database operations.Mini-License-Manager.php– The main entry point of the plugin. This file is loaded by WordPress, defines constants, and initializes the main class.
This layered structure follows a clear separation of responsibilities — improving maintainability, clarity, and enabling new developers to understand and extend the plugin easily.
⚡ Local Installation
-
Install XAMPP
Download and install XAMPP, then start Apache and MySQL. -
Install WordPress
Place your WordPress installation inside: C:\xampp\htdocs\wordpress -
Clone the Plugin
Download or clone this repository inside: wp-content/plugins/Resulting path example: wp-content/plugins/Mini License Manager/
-
Run WordPress Locally
Open: http://localhost/wordpress/wp-admin
and log in to your admin dashboard.
- Activate the Plugin
- Go to Plugins.
- Find Mini License Manager.
- Click Activate.
- Start Using It
A new “License” menu item will appear in the admin sidebar.
From here, you can add and manage license entries.
🛠️ Technologies
- PHP (OOP)
- WordPress Hooks
- MySQL (
$wpdb) - HTML5
- Local development on XAMPP
🧭 Features
- License creation form
- Data saved to the database
- Success & error messages
- Modular and clean structure for easy future expansion
💡 Notes
This project is a basic, working foundation for a WordPress plugin.
Its modular structure allows for:
- Easy implementation of full CRUD functionality
- Integration with REST APIs or AJAX
- Cleaner and more maintainable code