nirjharlo/wp-plugin-framework
Composer 安装命令:
composer require nirjharlo/wp-plugin-framework
包简介
A framework for quick production of WordPress plugins.
关键字:
README 文档
README
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.
Requirements
- PHP 7.1+
- WordPress 5.0+
Installation
composer install
For production use composer install --no-dev.
Usage
- Update namespaces in
wp-plugin-framework.phpandPlugin/PluginLoader.phpto match your plugin name. - Instantiate any of the engine classes or extend them to add your own logic.
- A lightweight service container now powers
PluginLoader, keeping class instantiation clean and testable. - Register plugin features inside
PluginLoaderto 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.
License
GPL-2.0-or-later. See LICENSE.
See CHANGELOG for release notes.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-06-25