PHPackages                             edbizarro/clash-royale-api - 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. edbizarro/clash-royale-api

ActiveLibrary[API Development](/categories/api)

edbizarro/clash-royale-api
==========================

Clash Royale Api PHP SDK

v0.2.7(6y ago)161795[7 PRs](https://github.com/edbizarro/clash-royale-api/pulls)MITPHPPHP ^7.1

Since Oct 23Pushed 3y agoCompare

[ Source](https://github.com/edbizarro/clash-royale-api)[ Packagist](https://packagist.org/packages/edbizarro/clash-royale-api)[ Docs](https://github.com/edbizarro/clash-royale-api)[ RSS](/packages/edbizarro-clash-royale-api/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (8)Versions (18)Used By (0)

 [![](https://camo.githubusercontent.com/e36abeb0f3d3e1e796c106ffbcdda3e9e7a075263e07c11c263ffca06a38c887/68747470733a2f2f646576656c6f7065722e636c617368726f79616c652e636f6d2f6c5f726574696e612e3532366263342e706e67)](https://camo.githubusercontent.com/e36abeb0f3d3e1e796c106ffbcdda3e9e7a075263e07c11c263ffca06a38c887/68747470733a2f2f646576656c6f7065722e636c617368726f79616c652e636f6d2f6c5f726574696e612e3532366263342e706e67)

PHP Wrapper for the Official [ Clash Royale API](https://developer.clashroyale.com).

 [ ![Build Status](https://camo.githubusercontent.com/e7048c203596c4c67b26601e9b25ae4b781c173173f5ac9be2a5a4d04b2d8b2f/68747470733a2f2f73656d6170686f726563692e636f6d2f6170692f76312f656462697a6172726f2f636c6173682d726f79616c652d6170692f6272616e636865732f6d61737465722f62616467652e737667)](https://semaphoreci.com/edbizarro/clash-royale-api) [![StyleCI](https://camo.githubusercontent.com/7523c5e47d473b73881f546bc4ad60ab9cf140955266d6c441c92f4f95e0a197/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3135343037353238372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/154075287) [![](https://camo.githubusercontent.com/5431b67f027d3e3876c95f70c7feb5c52d379b516a0d5b5cfbfb10ba3e9c8390/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64396638373638316132636435653439366336332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/edbizarro/clash-royale-api/maintainability) [![Latest Stable Version](https://camo.githubusercontent.com/41a9b869aba800c3e2cd5125fe3f2c5028a2570e2c441423d5b33d21312c6964/68747470733a2f2f706f7365722e707567782e6f72672f656462697a6172726f2f636c6173682d726f79616c652d6170692f762f737461626c652e737667)](https://packagist.org/packages/edbizarro/clash-royale-api) [![License](https://camo.githubusercontent.com/5b33c772edc22f6d7b08246d7f11dbc8ba14617c0431efbf9315bcd935a74aac/68747470733a2f2f706f7365722e707567782e6f72672f656462697a6172726f2f636c6173682d726f79616c652d6170692f6c6963656e73652e737667)](https://packagist.org/packages/edbizarro/clash-royale-api)

Installation
============

[](#installation)

You can install the package via composer:

```
composer require edbizarro/clash-royale-api
```

Usage
=====

[](#usage)

> Before use this library visit  to get an API TOKEN

Make sure to initialize the API ` Api::setApiToken($apiToken)` with a valid token before making requests

Clan
----

[](#clan)

### Info

[](#info)

```
