devaloka / wp
Provides WordPress objects as services
dev-master / 0.7.x-dev
2017-06-12 02:05 UTC
Requires
- php: >=5.6.0
Requires (Dev)
- squizlabs/php_codesniffer: ^2.9.1
This package is auto-updated.
Last update: 2024-11-29 04:14:29 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.)
Installation
-
Install via Composer.
composer require devaloka/wp