Package Data | |
---|---|
Maintainer Username: | raphaelbronsveld |
Maintainer Contact: | raphaelbronsveld@outlook.com (Raphael) |
Package Create Date: | 2016-03-16 |
Package Last Update: | 2018-01-10 |
Home Page: | https://raphaelbronsveld.com/clash |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-14 15:16:42 |
Package Statistics | |
---|---|
Total Downloads: | 146 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel package providing additional functionality to the official Clash Of Clans API.
"raphaelb/clashofapi": "~3.0"
Before this is going to work you need to get an api key from https://developer.clashofclans.com/#/
Insert this into your .env file.
CLASH_KEY=yourapikeyhere
public function someMethodBeingCalled()
{
$clans = app()->make('clash')
->getClans(['name' => 'Clans',
'limit' => '20']);
return view('yourview', compact('clans'));
}
Please check the examples.md file.
Raphael Bronsveld - MIT Licensed
Suggestions? E-mail me at raphaelbronsveld@outlook.com