2017 © Pedro Peláez
 

wordpress-plugin wp-plugin-framework

A framework for quick production of WordPress plugins.

image

nirjharlo/wp-plugin-framework

A framework for quick production of WordPress plugins.

  • Sunday, July 22, 2018
  • by nirjharlo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WP Plugin Framework

A lightweight foundation for rapid WordPress plugin development. The framework provides reusable classes for common tasks such as database setup, custom post types, REST API endpoints and more. Build feature rich plugins without rewriting boilerplate every time., (*1)

Build Status Scrutinizer Quality Score, (*2)

Requirements

  • PHP 7.1+
  • WordPress 5.0+

Installation

composer install

For production use composer install --no-dev., (*3)

Usage

  1. Update namespaces in wp-plugin-framework.php and Plugin/PluginLoader.php to match your plugin name.
  2. Instantiate any of the engine classes or extend them to add your own logic.
  3. A lightweight service container now powers PluginLoader, keeping class instantiation clean and testable.
  4. Register plugin features inside PluginLoader to keep everything organised.

Features

  • Settings pages, widgets, metaboxes and shortcodes
  • Database migration helpers
  • Fluent API integration class
  • Cron scheduler wrapper
  • REST API controller scaffold
  • Simple service container for dependency injection

Contributing

Pull requests are welcome. For major changes please open an issue first to discuss what you would like to change., (*4)

License

GPL-2.0-or-later. See LICENSE., (*5)

See CHANGELOG for release notes., (*6)

The Versions

22/07 2018

dev-master

9999999-dev https://github.com/nirjharlo/wp-plugin-framework

A framework for quick production of WordPress plugins.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.3.0

 

wordpress framework