سیستم لایسنس ووکامرس
A custom WooCommerce extension for managing product licenses and providing secure API access using Laravel-based backend integration.
by طاها کرمی · github.com/tahakarami-dev/woocommerce-license-system
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/tahakarami-dev/woocommerce-license-system/archive/refs/heads/main.zip🔐 WooCommerce License Manager API
A custom WooCommerce extension for managing product licenses and providing secure API access using Laravel-based backend integration.
🚀 Overview
This plugin adds a dedicated License Management System to WooCommerce, allowing customers to access and manage their purchased product licenses. It also provides secure API endpoints that communicate with a Laravel backend for license validation, retrieval, and management.
⚙️ Features
- 🧾 Generate and manage product licenses for WooCommerce orders
- 🔑 Secure API integration with Laravel backend
- 📦 Retrieve purchased licenses per user account
- 🔄 Validate licenses in real-time via API
- 👤 User-based license dashboard inside WordPress
- 🔐 Secure authentication layer for API requests
🧠 Architecture
WordPress (WooCommerce Plugin)
↓
License Manager Core (PHP)
↓
REST API Layer (Custom Endpoints)
↓
Laravel Backend API
↓
License Database / Business Logic
📁 Project Structure
core.php → Main plugin bootstrap inc/ → Core logic and helper classes assets/front/ → Frontend assets (JS / CSS) views/front/ → Frontend UI templates
🔌 API Integration
This plugin communicates with a Laravel-based API to handle license operations such as:
- Fetching user licenses
- Validating license keys
- Checking purchase status
- Syncing license data between systems
🔐 Security
- Token-based authentication for API requests
- Request validation and sanitization
- Secure communication between WordPress and Laravel backend
🛠️ Tech Stack
- WordPress (PHP)
- WooCommerce
- Laravel (Backend API)
- REST API
📌 Notes
This plugin is part of a larger license ecosystem designed for scalable digital product management. It is optimized for extensibility and future integration with SaaS-based licensing systems.
Made with ⚙️ by Taha Karami