PHPackages                             simonsator/party-and-friends-php-lib - 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. simonsator/party-and-friends-php-lib

ActiveLibrary

simonsator/party-and-friends-php-lib
====================================

PHP library for the PAF Friend Data

1.0.0(3y ago)3121GPL-2.0-or-laterPHPPHP ^7.4|^8.0

Since Nov 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Simonsator/PartyAndFriends-PHP-Lib)[ Packagist](https://packagist.org/packages/simonsator/party-and-friends-php-lib)[ RSS](/packages/simonsator-party-and-friends-php-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (2)Used By (0)

PHP API for Party and Friends
=============================

[](#php-api-for-party-and-friends)

A PHP composer library for Party And Friends ([Free for Bungeecord](https://www.spigotmc.org/resources/party-and-friends-for-bungeecord-supports-1-7-x-to-1-19-x.9531/), [Extended For Bungeecord/Velocity](https://www.spigotmc.org/resources/party-and-friends-extended-edition-for-bungeecord-velocity-supports-1-7-1-19.10123/), [Extended For Spigot](https://www.spigotmc.org/resources/party-and-friends-extended-for-spigot-supports-1-7-1-19.11633/) ( you need to use MySQL as a data source), or [Free For Velocity](https://forums.papermc.io/threads/party-and-friends-for-velocity-version-1-0-89.317/)), which allows developers to access Party And Friends data in PHP.

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- [Composer](https://getcomposer.org/)
- A MySQL server containing the Party And Friends ([Free for Bungeecord](https://www.spigotmc.org/resources/party-and-friends-for-bungeecord-supports-1-7-x-to-1-19-x.9531/), [Extended For Bungeecord/Velocity](https://www.spigotmc.org/resources/party-and-friends-extended-edition-for-bungeecord-velocity-supports-1-7-1-19.10123/), [Extended For Spigot](https://www.spigotmc.org/resources/party-and-friends-extended-for-spigot-supports-1-7-1-19.11633/) ( you need to use MySQL as a data source), or [Free For Velocity](https://forums.papermc.io/threads/party-and-friends-for-velocity-version-1-0-89.317/)) data which should be accessed

Installation
------------

[](#installation)

Add the following lines to your composer file:

```
{
  "require": {
    "simonsator/party-and-friends-php-lib": "dev-master"
  }
}
```

Where to start
--------------

[](#where-to-start)

A demo project can be found [here](https://github.com/Simonsator/PartyAndFriends-PHP-Lib-Demo). To get started, you should call the constructor of the class `Simonsator\PartyAndFriends\PAFPlayerManager`. You need to provide the table prefix used by Party And Friends and a PDO object with an active connection to the MySQL database which is used by Party And Friends. Using the methods of the `PAFPlayerManager` you can `PAFPlayer` objects, with which you can access data of players.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7d8496fb959f769be65fb1051bb011bb706a319d293a84ff87ce34e68af46e6?d=identicon)[Simonsator](/maintainers/Simonsator)

---

Top Contributors

[![Simonsator](https://avatars.githubusercontent.com/u/11296360?v=4)](https://github.com/Simonsator "Simonsator (38 commits)")

---

Tags

php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simonsator-party-and-friends-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/simonsator-party-and-friends-php-lib/health.svg)](https://phpackages.com/packages/simonsator-party-and-friends-php-lib)
```

PHPackages © 2026

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