PHP code example of jongotlin / ratsit

1. Go to this page and download the library: Download jongotlin/ratsit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jongotlin / ratsit example snippets


$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');