Download the PHP package horttcore/wp-plugin without Composer
On this page you can find all versions of the php package horttcore/wp-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wp-plugin
WorPress Plugin Wrapper
Usage
- Create a plugin container
- Add a service
- Boot the plugin
Installation
composer require ralfhortt/wp-plugin
Usage
- Create a service class with a
register
method - Add a service to the plugin factory
Example
Simple
Advanced
Hook
Changelog
v2.1.0 - 2022-05-30
- Added
addServiceHook
method to define the at which WordPress Hook a service is registered
v2.0.1 - 2020-01-09
- Fix: Pass args to __construct instead of register method
v2.0.0 - 2019-12-09
- Add: Pass arguments to service register function
- Change: Namespace changed to RalfHortt\Plugin
- Change: Move translation to its own service
v1.0.1 - 2019-01-16
- Changed:
PluginFactory
returns a newPlugin
object instead of a shared instance
v1.0.0 - 2019-01-15
- Initial release
All versions of wp-plugin with dependencies
PHP Build Version
Package Version
No informations.
The package horttcore/wp-plugin contains the following files
Loading the files please wait ....