An open API service indexing awesome lists of open source software.

https://github.com/devaloka/devaloka-wp

:warning: [WILL-BE-DEPRECATED][Devaloka Plugin] Provides event-subscribable Widget, WordPress objects as services.
https://github.com/devaloka/devaloka-wp

Last synced: 8 months ago
JSON representation

:warning: [WILL-BE-DEPRECATED][Devaloka Plugin] Provides event-subscribable Widget, WordPress objects as services.

Awesome Lists containing this project

README

          

# Devaloka 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.)

## Requirements

* [Devaloka](https://github.com/devaloka/devaloka)

## Installation

1. Install via Composer.

```sh
composer require devaloka/devaloka-wp
```

[stable-image]: https://poser.pugx.org/devaloka/devaloka-wp/v/stable
[stable-url]: https://packagist.org/packages/devaloka/devaloka-wp

[unstable-image]: https://poser.pugx.org/devaloka/devaloka-wp/v/unstable
[unstable-url]: https://packagist.org/packages/devaloka/devaloka-wp

[license-image]: https://poser.pugx.org/devaloka/devaloka-wp/license
[license-url]: https://packagist.org/packages/devaloka/devaloka-wp

[travis-image]: https://travis-ci.org/devaloka/devaloka-wp.svg?branch=master
[travis-url]: https://travis-ci.org/devaloka/devaloka-wp