PHPackages                             mcmainiac/phpubg - 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. [API Development](/categories/api)
4. /
5. mcmainiac/phpubg

Abandoned → [jmwri/pubg-php](/?search=jmwri%2Fpubg-php)ArchivedLibrary[API Development](/categories/api)

mcmainiac/phpubg
================

PHP Wrapper for PUBG tracker api

v1.0.3(8y ago)61331MITPHPPHP &gt;=7.1.5

Since Aug 5Pushed 8y agoCompare

[ Source](https://github.com/ricardoboss/PHPUBG)[ Packagist](https://packagist.org/packages/mcmainiac/phpubg)[ Docs](https://github.com/MCMainiac/PHPUBG)[ RSS](/packages/mcmainiac-phpubg/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

PHPUBG
======

[](#phpubg)

[![Test Status](https://camo.githubusercontent.com/6771d74cf95eeff27db10486c1748b3007f432c84aa5d57c76d34ee71d998578/68747470733a2f2f6170692e7472617669732d63692e6f72672f4d434d61696e6961632f5048505542472e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MCMainiac/PHPUBG)

PHP wrapper for the PUBG Tracker API.

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

[](#installation)

PHPUBG is available on [packagist](https://packagist.org/packages/mcmainiac/phpubg), so you can easily require it via composer:

```
composer require mcmainiac/phpubg

```

To use this as a standalone library (without composer), download the repository and extract it somewhere (preferably in your projects libraries folder) and set up an `autoloader` to load all files dynamically. The root namespace of this library is `\PHPUBG`.

Usage
-----

[](#usage)

> To get your own `api key`, please visit [pubgtracker.com/site-api](https://pubgtracker.com/site-api).

Assuming you are at the root of your project (the `vendor` folder is within your current folder):

```
