padam87 / billingo-bundle
API wrapper for https://www.billingo.hu
Installs: 1 536
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.0
- symfony/config: ^6.0 || ^7.0
- symfony/dependency-injection: ^6.0 || ^7.0
- symfony/form: ^6.0 || ^7.0
- symfony/http-client: ^6.0 || ^7.0
- symfony/http-foundation: ^6.0 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
composer require padam87/billingo-bundle
App kernel: new Padam87\BillingoBundle\Padam87BillingoBundle(),
Configuration:
padam87_billingo: authentication: public_key: your_public_key private_key: your_private_key
Usage:
$client = $this->get('padam87_billingo.api')->request('POST', 'clients', [/* ... */]);
In the example above $client
will contain the complete response from the API.
The response data should be accessed by $client['data']
.
Configuration reference:
padam87_billingo: authentication: # Required public_key: ~ # Required private_key: ~ # Required lifetime: 120 api: version: 2 base_url: 'https://www.billingo.hu/api/'