Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jongotlin/ratsitbundle
Symfony Bundle for https://github.com/jongotlin/Ratsit
https://github.com/jongotlin/ratsitbundle
symfony-bundle
Last synced: 19 days ago
JSON representation
Symfony Bundle for https://github.com/jongotlin/Ratsit
- Host: GitHub
- URL: https://github.com/jongotlin/ratsitbundle
- Owner: jongotlin
- License: mit
- Created: 2017-12-09T14:03:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T20:17:54.000Z (about 2 months ago)
- Last Synced: 2024-12-16T03:43:14.590Z (20 days ago)
- Topics: symfony-bundle
- Language: PHP
- Homepage:
- Size: 199 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RatsitBundle
Symfony Bundle for [jongotlin/ratsit](https://github.com/jongotlin/Ratsit)## Installation
Install with composer and your favourite http adapter (in this case Guzzle 6)
```bash
$ 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
```yaml
ratsit:
token: '*************'
http_client: 'httplug.client'
```In AppKernel.php
```php
$bundles = array(
// ...
new JGI\RatsitBundle\RatsitBundle(),
);
```## Usage
```php
// Inject JGI\Ratsit\Ratsit $ratsit via container */
$persons = $ratsit->searchPerson('Per Fredrik', 'EKEBY');
$person = $ratsit->findPersonBySocialSecurityNumber('194107081111');
```