PHPackages                             devaloka/wp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. devaloka/wp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devaloka/wp
===========

Provides WordPress objects as services

06PHP

Since Jun 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/devaloka/wp)[ Packagist](https://packagist.org/packages/devaloka/wp)[ RSS](/packages/devaloka-wp/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

WP
==

[](#wp)

[![Latest Stable Version](https://camo.githubusercontent.com/7eeb1997d6c22d8cd68f1b5abab9a520e8e871f575ded4e1d9fa3e3646679863/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f77702f762f737461626c65)](https://packagist.org/packages/devaloka/wp)[![Latest Unstable Version](https://camo.githubusercontent.com/6a2d2b098dc9c1755bb24954138187cb3f27f26e1225ba98f04bbe427476b657/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f77702f762f756e737461626c65)](https://packagist.org/packages/devaloka/wp)[![License](https://camo.githubusercontent.com/c0101d0a6ea4cc225ee66740038e94718c43f14a47bc61f9a205895e72cc6525/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f77702f6c6963656e7365)](https://packagist.org/packages/devaloka/wp)[![Build Status](https://camo.githubusercontent.com/d8c57013cef82c1dfe6fdfd4edd5e4618c16de13a3e2f77daba5f6f85cf5ede9/68747470733a2f2f7472617669732d63692e6f72672f646576616c6f6b612f77702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/devaloka/wp)

A WordPress plugin that provides WordPress objects as services via DI Container.

Features
--------

[](#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
------------

[](#installation)

1. Install via Composer.

    ```
    composer require devaloka/wp
    ```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1211058?v=4)[Whizark](/maintainers/whizark)[@whizark](https://github.com/whizark)

---

Top Contributors

[![whizark](https://avatars.githubusercontent.com/u/1211058?v=4)](https://github.com/whizark "whizark (12 commits)")[![QWp6t](https://avatars.githubusercontent.com/u/2104321?v=4)](https://github.com/QWp6t "QWp6t (1 commits)")

### Embed Badge

![Health badge](/badges/devaloka-wp/health.svg)

```
[![Health](https://phpackages.com/badges/devaloka-wp/health.svg)](https://phpackages.com/packages/devaloka-wp)
```

###  Alternatives

[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4531.2M5](/packages/athari-yalinqo)[malukenho/mcbumpface

Bumping into packages

116759.4k24](/packages/malukenho-mcbumpface)[usmanhalalit/strana

Pagination library for PHP, framework agnostic, with built-in adapters for Doctrine, Eloquent, Pixie and PHP Array.

947.4k4](/packages/usmanhalalit-strana)[bodunde/geocoder

A laravel package that helps you with geocoding addresses and reverse geocoding coordinates using the google maps api. It also helps in calculating the distance between two locations using the Hervasine formula and the coordinates of the locations

247.7k](/packages/bodunde-geocoder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
