jongotlin / ratsit
Installs: 6 009
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Type:api-wrapper
Requires
- php: ^7.1
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0 || ^2.0
- php-http/message: ^1.0
Requires (Dev)
- php-http/guzzle6-adapter: ^1.0
- phpunit/phpunit: ^8.0
- symfony/event-dispatcher: ^4.0 || ^5.0
Suggests
- symfony/event-dispatcher: To dispatch events when data is returned and denormalized from Ratsit.
README
Installation
$ composer require jongotlin/ratsit
Usage
$token = '****'; $ratsit = new \JGI\Ratsit\Ratsit($token); $ratsit->setHttpClient($client); // $client is a \Http\Client\HttpClient $persons = $ratsit->searchPerson('Per Fredrik', 'EKEBY'); $person = $ratsit->findPersonBySocialSecurityNumber('194107081111');