Provides WordPress objects as services

dev-master / 0.7.x-dev 2017-06-12 02:05 UTC

This package is auto-updated.

Last update: 2024-12-29 04:25:37 UTC


README

Latest Stable Version Latest Unstable Version License Build Status

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.

    composer require devaloka/wp