WP Manifestindependent plugin directory
manifest / developer / custom-api-plugin

Custom API Plugin Enterprise DI

Enterprise WordPress plugin with custom REST API CRUD, PSR-4 autoloading, dependency injection, and custom database tables.

★ 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/hemantkmallick/custom-api-plugin/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.

Custom API Plugin (Enterprise WordPress)

An enterprise-level WordPress plugin built with modern PHP architecture.

This plugin provides a custom REST API with full CRUD operations using a custom database table, designed with clean, scalable, and testable code.


🚀 Features

  • ✅ Custom REST API endpoints (CRUD)
  • ✅ Custom database table (no post types)
  • ✅ PSR-4 autoloading using Composer
  • ✅ Dependency Injection (DI)
  • ✅ Layered architecture:
    • Controller
    • Service
    • Repository
  • ✅ Secure permission handling
  • ✅ Clean and scalable codebase

🏗️ Architecture

Controller → Service → Repository → Database

  • Controller → Handles API requests/responses
  • Service → Business logic & validation
  • Repository → Database operations
  • Schema → Table creation

📦 Installation

  1. Clone or download the repository
  2. Place plugin in:wp-content/plugins/
  3. Run Composer:

composer install