dylandelobel / brawlhalla-api-bundle
Symfony wrapper for Brawlhalla API
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.3
- guzzlehttp/guzzle: ^6.5
This package is auto-updated.
Last update: 2025-04-17 03:47:43 UTC
README
Symfony wrapper for Brawlhalla API
Installation
Create brawlhalla_api_bundle.yaml
with the following
brawlhalla_api: api_key: '%env(BRAWL_API_KEY)%'
In your .env.local
the dev key
###> dylandelobel/brawlhalla-api-bundle ###
BRAWL_API_KEY=xxx
###< dylandelobel/brawlhalla-api-bundle ###
Require the package
composer require dylandelobel/brawlhalla-api-bundle
Usage
public function brawl(BrawlhallaClient $brawlhallaClient) { $request = $brawlhallaClient->getClan(1); $json = json_decode($request->getBody()); return new JsonResponse($json); }
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.