All Projects → GRosay → Php Haloapi

GRosay / Php Haloapi

Licence: apache-2.0
This wrapper has for purpose to simplify the work of PHP developers who wants to use the official Halo API (beta).

Projects that are alternatives of or similar to Php Haloapi

Composer Changelogs
📓 Display better summary after Composer update
Stars: ✭ 540 (+10700%)
Mutual labels:  composer
Composer Mirror
Composer 全量镜像发布于2017年3月,曾不间断运行2年多。这个开源有助于理解 Composer 镜像的工作原理
Stars: ✭ 607 (+12040%)
Mutual labels:  composer
Robot Loader
🍀 RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.
Stars: ✭ 690 (+13700%)
Mutual labels:  composer
Ip Location Zh
获取 IP 地址的真实地理位置
Stars: ✭ 556 (+11020%)
Mutual labels:  composer
Bedrock
WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure
Stars: ✭ 5,456 (+109020%)
Mutual labels:  composer
Leafpub
Simple, beautiful, open source publishing.
Stars: ✭ 645 (+12800%)
Mutual labels:  composer
Acf Builder
An Advanced Custom Field Configuration Builder
Stars: ✭ 492 (+9740%)
Mutual labels:  composer
Awesome Composer
😎 A curated awesome list for Composer, Packagist, Satis, Plugins, Scripts, Composer related resources, tutorials.
Stars: ✭ 738 (+14660%)
Mutual labels:  composer
Composer Normalize
🎵 Provides a composer plugin for normalizing composer.json.
Stars: ✭ 602 (+11940%)
Mutual labels:  composer
Sleepingowladmin
🦉 Administrative interface builder for Laravel (Laravel admin)
Stars: ✭ 671 (+13320%)
Mutual labels:  composer
Wpackagist
WordPress Packagist — manage your plugins with Composer
Stars: ✭ 558 (+11060%)
Mutual labels:  composer
Lavacharts
Lavacharts is a graphing / charting library for PHP 5.4+ that wraps Google's Javascript Chart API.
Stars: ✭ 587 (+11640%)
Mutual labels:  composer
Composer Unused
Show unused composer dependencies by scanning your code
Stars: ✭ 649 (+12880%)
Mutual labels:  composer
Wordpress
A fork of WordPress with Composer support added. Branches, tags, and trunk synced from upstream every 15 minutes.
Stars: ✭ 546 (+10820%)
Mutual labels:  composer
Composer
Dependency Manager for PHP
Stars: ✭ 25,994 (+519780%)
Mutual labels:  composer
Id Validator
中华人民共和国居民身份证、中华人民共和国港澳居民居住证以及中华人民共和国台湾居民居住证号码验证工具(PHP 版)
Stars: ✭ 527 (+10440%)
Mutual labels:  composer
Symfony Rest Edition
Fork from symfony-standard edition with additional rest features.
Stars: ✭ 643 (+12760%)
Mutual labels:  composer
Satis On Heroku
Your private Satis instance on Heroku, just one click away.
Stars: ✭ 5 (+0%)
Mutual labels:  composer
Composer Merge Plugin
Merge one or more additional composer.json files at Composer runtime
Stars: ✭ 718 (+14260%)
Mutual labels:  composer
Telegram Api
Complete async capable Telegram bot API implementation for PHP7
Stars: ✭ 650 (+12900%)
Mutual labels:  composer

PHP-HaloAPI

Latest Stable Version Total Downloads Latest Unstable Version License

For now, only supports Halo 5 and Halo Wars 2. Support for Halo 5 PC will come later.

Presentation

This class has for purpose to simplify the work of PHP developers who wants to use the official Halo API (beta).

Requirements

Installation

Simply download and implement the class in your project.

You can also install it through composer:

composer require bananassplitter/php-haloapi

Usage

To use the class, simply add it to your PHP file and then initialize:

$sApiKey = "xxxx"; // Use your API key - you can also use a constant.
require_once('haloapi.class.php');
$oApi = new haloapi($sApiKey, array('BananasSplitter')); // Initialize the class

...

See example.php file for concrete example.

Composer

To initialize the class with composer, proceed like following

<?php
require_once __DIR__ . '/vendor/autoload.php'; // Path to autoload file...

use PHPHaloApi\haloapi; // namespace and class name
$sApiKey = "xxxx"; // Use your API key - you can also use a constant.

$oApi = new haloapi(sApiKey , array('BananasSplitter')); // Initialize the class

...

See example.composer.php file for concrete example.

Licence

This project is under Apache 2.0 licence. See licence file.

Changelog

  • 2018-10-03: Adding Halo Wars 2 endpoints + return error when title not supported
  • Adding all missing endpoints

Legal notice

This project is not supported/developed/affiliated in any way by/with Halo, 343 Industries or Microsoft.

Halo is a game developed by 343 Industries.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].