Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

WP Admin Panel Framework

A professional and modern framework for building WordPress admin panels with advanced data management capabilities. Built with clean architecture and developer experience in mind.

PHP Version WordPress Version License Author

Overview

WP Admin Panel Framework provides a robust foundation for creating professional WordPress plugins with modern admin interfaces. It eliminates the boilerplate code and common challenges in WordPress plugin development, allowing you to focus on your specific business logic.

✨ Core Features

🎯 Professional Admin Interface

  • Modern Dashboard

    • Clean and responsive design
    • Real-time data visualization
    • System status monitoring
    • Activity tracking
    • Quick action buttons
  • Advanced Data Management

    • AJAX-powered CRUD operations
    • Bulk actions support
    • Smart search & filtering
    • Sortable data tables
    • Built-in pagination
    • Data export/import
  • Flexible Settings System

    • Multiple field types
    • Real-time validation
    • Organized sections
    • Settings API integration
    • File upload handling

πŸ”§ Developer Features

  • Clean Architecture

    • PSR-4 autoloading
    • Service-based design
    • Dependency injection
    • Event system
    • Extensive hooks
  • Database Layer

    • Migration system
    • Query Builder
    • Model abstraction
    • Relationship handling
    • Data validation
  • REST API

    • Versioned endpoints
    • Authentication
    • Rate limiting
    • Response caching
    • Swagger docs

πŸš€ Quick Start

Requirements

{
 "php": ">=7.4",
 "wordpress": ">=5.8",
 "mysql": ">=5.7"
}

Installation

  1. Clone the repository:
git clone https://github.com/3daghati/wp-admin-panel-framework.git
cd wp-admin-panel-framework
  1. Install dependencies:
composer install
  1. Activate in WordPress:
  • Move to wp-content/plugins/
  • Activate through WP Admin

πŸ“¦ What's Included

wp-admin-panel-framework/
β”œβ”€β”€ assets/ # Frontend assets
β”‚ β”œβ”€β”€ css/ # Stylesheets
β”‚ β”œβ”€β”€ js/ # JavaScript
β”‚ └── vendor/ # 3rd party
β”œβ”€β”€ src/ # PHP source
β”‚ β”œβ”€β”€ Admin/ # Admin UI
β”‚ β”œβ”€β”€ Api/ # REST API
β”‚ β”œβ”€β”€ Core/ # Core system
β”‚ β”œβ”€β”€ Database/ # DB layer
β”‚ └── Services/ # Business logic
└── templates/ # View files

πŸ’‘ Usage Examples

Adding Admin Pages

add_action('custom_plugin_admin_menu', function($admin) {
 $admin->addPage([
 'title' => 'Custom Page',
 'slug' => 'custom-page',
 'icon' => 'dashicons-admin-generic'
 ]);
});

Using the Query Builder

$items = $queryBuilder
 ->select(['id', 'title', 'status'])
 ->where('status', 'active')
 ->orderBy('created_at', 'DESC')
 ->get();

REST API Endpoints

$router->get('/items', 'ItemController@index');
$router->post('/items', 'ItemController@store');
$router->put('/items/{id}', 'ItemController@update');

πŸ› οΈ Development

Building Assets

# Development
npm run dev
# Production
npm run build
# Watch
npm run watch

Running Tests

composer test

πŸ“š Documentation

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

πŸ“ License

This project is licensed under the GPL v2 or later - see the LICENSE file for details.

🌟 Support

⭐ Credits

Developed with ❀️ by 3daghati


If you find this framework helpful, please consider giving it a star ⭐

About

* A modern and professional framework for building WordPress admin panels with advanced features. * Includes a powerful dashboard, data management system, and extensive API integration capabilities. * Built with clean architecture and developer experience in mind.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /