Download the PHP package matthiggins/bluezone without Composer

On this page you can find all versions of the php package matthiggins/bluezone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bluezone

bluezone-banner

BLUEZONE : A PHP SDK for the PUBG API

Version PHP Version Require License

BLUEZONE is an SDK for PHP that makes using the PUBG API dead simple. It provides a set of simple and intuitive methods that allow you to interact with the PUBG API without having to worry about low-level details such as authentication and request handling. With BLUEZONE, you can easily retrieve data for players, matches, seasons, weapon mastery, and survival mastery. It also includes a set of data transfer objects (DTOs) that help you work with the data returned by the API in a structured and organized way.

In addition to accessing data from the API, BLUEZONE also allows you to access match telemetry files and parse them for player data. This makes it easy to analyze gameplay data and gain insights into player behavior. Whether you're building a tool to help players improve their skills or conducting research on player behavior, BLUEZONE provides a powerful and flexible way to work with PUBG data.


Relevant Links


Table of Contents


Installation

To install, require the package matthiggins/bluezone via composer.

Usage

Instantiate a new Bluezone instance using your PUBG API key. You can get your own API key by going to the PUBG Developer Portal.

Bluezone uses Saloon to create a Connector, Requests, and DTOs for the PUBG API. You can use all of the features of Saloon in the requests and responses.

Making requests

Requests will return a PUBG DTO instance or a collection of instances.

If the request results in an error an exception will be thrown.

By default, Saloon provides classes for specific errors related to the request.

Saloon - Handling Failures

Available methods

Bluezone has easy methods for accessing the [PUBG API endpoints](https://documentation.pubg.com/en/introduction.ht

Seasons list

Player search, player profiles, and stats

You can search for a player by their in-game name and shard or you can retrieve a player using their Account ID.

Matches


Accessing Match Telemetry Data

The PUBG API provides access to very detailed match data in a Match Telemetry file. This file contains information about game details, player movement, player action, zone information, and more. Telemetry files are large JSON files that can be parsed and analyzed for deeper analysis.

To get a telemetry file you must first request details of a PUBG match.

Working with telemetry events

The telemetry file is essentially a huge list of events that happen during a match. These are events for individual players as well as game events like care packages, circle movement, etc. You can easily filter these events with helper methods that make pulling player and game data easier.

Game events and match events from telemetry

In addition to player events you can also easily access game events and match details.

Filter events from the telemetry data

You can easily filter out events from the data using Laravel Collection methods.

For example:


All versions of bluezone with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
illuminate/collections Version *
saloonphp/saloon Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package matthiggins/bluezone contains the following files

Loading the files please wait ....