jongotlin / ratsit-bundle
Installs: 6 036
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 2
Type:symfony-bundle
Requires
- php: ^7.1
- jongotlin/ratsit: ^2.4
- symfony/framework-bundle: ^4.0|^5.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-06 20:17:57 UTC
README
Symfony Bundle for jongotlin/ratsit
Installation
Install with composer and your favourite http adapter (in this case Guzzle 6)
$ composer require php-http/client-implementation:^1.0 php-http/discovery:^1.0 php-http/guzzle6-adapter:^1.0 php-http/httplug:^1.0 php-http/message:^1.0 jongotlin/ratsit-bundle:^1.0
In config.yml
ratsit: token: '*************' http_client: 'httplug.client'
In AppKernel.php
$bundles = array( // ... new JGI\RatsitBundle\RatsitBundle(), );
Usage
// Inject JGI\Ratsit\Ratsit $ratsit via container */ $persons = $ratsit->searchPerson('Per Fredrik', 'EKEBY'); $person = $ratsit->findPersonBySocialSecurityNumber('194107081111');