WP Manifestindependent plugin directory
manifest / admin / mini-license-manager

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.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/michalravid/mini-license-manager/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A 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

  1. Install XAMPP
    Download and install XAMPP, then start Apache and MySQL.

  2. Install WordPress
    Place your WordPress installation inside: C:\xampp\htdocs\wordpress

  3. Clone the Plugin
    Download or clone this repository inside: wp-content/plugins/

    Resulting path example: wp-content/plugins/Mini License Manager/

  4. Run WordPress Locally
    Open: http://localhost/wordpress/wp-admin

and log in to your admin dashboard.

  1. Activate the Plugin
  • Go to Plugins.
  • Find Mini License Manager.
  • Click Activate.
  1. 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