felixdelval / deckbrew-api
PHP DeckBrew Api
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/felixdelval/deckbrew-api
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- phpunit/phpunit: 4.3.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2025-10-15 15:46:51 UTC
README
A PHP wrapping of the DeckBrew Api. Find their documentation (here)[https://deckbrew.com/api/].
Usage
You can instantiate the client either via the factory:
$client = DeckBrew\ClientFactory::create();
Or you can create it directy injecting your own Guzzle Http Client
$client = new DeckBrew\Client($httpClient);
To make a request :
use DeckBrew\Criteria;
use DeckBrew\Criteria\Specifications as Spec;
$client->searchCard(new Criteria\CardSearch([
Spec\WithName('some name'),
]);