https://github.com/devaloka/wp
:sunny: [READ-ONLY][Component] WordPress objects as services.
https://github.com/devaloka/wp
Last synced: about 1 year ago
JSON representation
:sunny: [READ-ONLY][Component] WordPress objects as services.
- Host: GitHub
- URL: https://github.com/devaloka/wp
- Owner: devaloka
- License: gpl-2.0
- Created: 2016-04-25T08:53:47.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T02:31:17.000Z (about 9 years ago)
- Last Synced: 2025-03-22T00:35:04.074Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# WP
[![Latest Stable Version][stable-image]][stable-url]
[![Latest Unstable Version][unstable-image]][unstable-url]
[![License][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
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` and `WP_Styles`)
* Replacing `WP_Widget_Factory` with new extended one,
(Injecting DI Container into Widget, making Widget to be able to subscribe
events.)
## Installation
1. Install via Composer.
```sh
composer require devaloka/wp
```
[stable-image]: https://poser.pugx.org/devaloka/wp/v/stable
[stable-url]: https://packagist.org/packages/devaloka/wp
[unstable-image]: https://poser.pugx.org/devaloka/wp/v/unstable
[unstable-url]: https://packagist.org/packages/devaloka/wp
[license-image]: https://poser.pugx.org/devaloka/wp/license
[license-url]: https://packagist.org/packages/devaloka/wp
[travis-image]: https://travis-ci.org/devaloka/wp.svg?branch=master
[travis-url]: https://travis-ci.org/devaloka/wp