PHPackages                             scribu/lib-posts-to-posts - 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. scribu/lib-posts-to-posts

ActiveLibrary

scribu/lib-posts-to-posts
=========================

A library for many-to-many relationships in WordPress

2080.7k↓50%24[4 PRs](https://github.com/scribu/wp-lib-posts-to-posts/pulls)1PHP

Since Oct 25Pushed 3y ago6 watchersCompare

[ Source](https://github.com/scribu/wp-lib-posts-to-posts)[ Packagist](https://packagist.org/packages/scribu/lib-posts-to-posts)[ RSS](/packages/scribu-lib-posts-to-posts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

lib-posts-to-posts
==================

[](#lib-posts-to-posts)

This repository contains the library for managing connections and connection types. It does not contain any UI code.

It is meant to be integrated into a theme or a plugin.

See the [`_p2p_load()`](https://github.com/scribu/wp-posts-to-posts/blob/master/posts-to-posts.php) from the original Posts 2 Posts plugin to see what's needed for initializing it.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.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://www.gravatar.com/avatar/2439e3f2481a972350cdb74bdeaef11d15082a3b8fca1dbf33e8bbe3fbdcd3a7?d=identicon)[scribu](/maintainers/scribu)

---

Top Contributors

[![scribu](https://avatars.githubusercontent.com/u/225715?v=4)](https://github.com/scribu "scribu (509 commits)")[![andy-goat-tree](https://avatars.githubusercontent.com/u/1630719?v=4)](https://github.com/andy-goat-tree "andy-goat-tree (3 commits)")[![meloniq](https://avatars.githubusercontent.com/u/1211101?v=4)](https://github.com/meloniq "meloniq (1 commits)")[![mikemanger](https://avatars.githubusercontent.com/u/74821?v=4)](https://github.com/mikemanger "mikemanger (1 commits)")[![MZAWeb](https://avatars.githubusercontent.com/u/1390492?v=4)](https://github.com/MZAWeb "MZAWeb (1 commits)")[![ntns](https://avatars.githubusercontent.com/u/1618832?v=4)](https://github.com/ntns "ntns (1 commits)")[![PatelUtkarsh](https://avatars.githubusercontent.com/u/5015489?v=4)](https://github.com/PatelUtkarsh "PatelUtkarsh (1 commits)")[![markoheijnen](https://avatars.githubusercontent.com/u/262877?v=4)](https://github.com/markoheijnen "markoheijnen (1 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/scribu-lib-posts-to-posts/health.svg)

```
[![Health](https://phpackages.com/badges/scribu-lib-posts-to-posts/health.svg)](https://phpackages.com/packages/scribu-lib-posts-to-posts)
```

PHPackages © 2026

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