PHPackages                             voceconnect/wp-dependencies - 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. voceconnect/wp-dependencies

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

voceconnect/wp-dependencies
===========================

A composer package for WordPress to help manage plugin dependencies.

0.2.1(5y ago)718.8k11GPL-2.0+PHPPHP &gt;=5.2.4

Since Oct 29Pushed 5y ago3 watchersCompare

[ Source](https://github.com/voceconnect/wp-dependencies)[ Packagist](https://packagist.org/packages/voceconnect/wp-dependencies)[ RSS](/packages/voceconnect-wp-dependencies/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (6)Used By (1)

WP Dependencies
===============

[](#wp-dependencies)

A composer package for WordPress to autoload plugin dependencies.

Usage
-----

[](#usage)

### For Themes and Plugins

[](#for-themes-and-plugins)

##### Require the Dependencies and WP Dependencies Package

[](#require-the-dependencies-and-wp-dependencies-package)

Add a reference to wp-dependencies to your theme's or plugin's composer.json along with any other plugins that need to be active.

```
{
    "name": "my-account/my-theme",
    "type": "wordpress-theme",
    "authors": [
        {
            "name": "John Doe",
            "email": "john@example.com"
        }
    ],
    "repositories": [
        {
            "type": "composer",
            "url" : "http://wp-plugins.packagist.voceconnect.com/"
        },
        ...
    ],
    "config": {
    	"vendor-dir": "vendor"
    },
    "require": {
        "voceconnect/wp-dependencies": "~0.1",
        "wpackagist/thermal-api: "~0.7"
        ...
    }
}

```

#### Add Composer's Autoload

[](#add-composers-autoload)

##### For WordPress Projects

[](#for-wordpress-projects)

Because of the way WordPress loads, it is suggested that the `mu-plugins` directory be set as the vendor. This allows Composer's `autoload.php` to be loaded automatically after WordPress' plugin API has already been setup.

```
{
    ...
    "config": {
        "vendor-dir": "wp-content/mu-plugins"
    },
    ...
}

```

#### For WordPress Themes or Plugins

[](#for-wordpress-themes-or-plugins)

Include Composer's `autoload.php` in the theme's `functions.php` or in your plugin's main file. The below example assume's the plugin's or theme's `vendor-dir` setting `composer.json` is set to `vendor`.

```
// bootstrap composer autoload for dependencies
if(file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php' ) ) {
	include_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php' );
}

```

#### Load Dependencies

[](#load-dependencies)

For dependencies or plugins that do not autoload through composer, you will need to load the dependency through one of two ways.

```
do_action( 'wp_load_dependency', 'some-plugin-name', 'main-plugin-file.php');

```

or

```
if (function_exists('wp_load_dependency')) {
	 wp_load_dependency('some-plugin-name', 'main-plugin-file.php');
}

```

The former action based loading is preferred as it provides more flexibility for future iterations.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~684 days

Total

5

Last Release

1890d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68431036eb11480c4075c2363add4d23e8e7b7b28f43396165c5c63cbcbee049?d=identicon)[prettyboymp](/maintainers/prettyboymp)

![](https://avatars.githubusercontent.com/u/877634?v=4)[Kevin Langley Jr.](/maintainers/kevinlangleyjr)[@kevinlangleyjr](https://github.com/kevinlangleyjr)

![](https://avatars.githubusercontent.com/u/3452?v=4)[Voce Platforms](/maintainers/voceconnect)[@voceconnect](https://github.com/voceconnect)

---

Top Contributors

[![kevinlangleyjr](https://avatars.githubusercontent.com/u/877634?v=4)](https://github.com/kevinlangleyjr "kevinlangleyjr (1 commits)")

### Embed Badge

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

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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