devaloka / devaloka-wp
Provides WordPress objects as services
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:devaloka-muplugin
Requires
- php: >=5.5.9
- devaloka/devaloka: ~0.5.0
- devaloka/mu-plugin-installer: ~0.1.0
Requires (Dev)
- squizlabs/php_codesniffer: ^2.5.0
This package is auto-updated.
Last update: 2024-11-29 04:30:59 UTC
README
A WordPress plugin that provides WordPress objects as services via DI Container.
Features
-
Providing WordPress objects as services via DI Container.
(wpdb
,WP_Embed
,WP_Scripts
andWP_Styles
) -
Replacing
WP_Widget_Factory
with new extended one,
(Injecting DI Container into Widget, making Widget to be able to subscribe events.)
Requirements
Installation
-
Install via Composer.
composer require devaloka/devaloka-wp