Skip to content

Simonsator/PartyAndFriends-PHP-Lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP API for Party and Friends

A PHP composer library for Party And Friends (Free for Bungeecord , Extended For Bungeecord/Velocity , Extended For Spigot ( you need to use MySQL as a data source), or Free For Velocity), which allows developers to access Party And Friends data in PHP.

Requirements

Installation

Add the following lines to your composer file:

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

Where to start

A demo project can be found here. 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.

About

A Composer library for Party And Friends to use it's data in PHP scripts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages