PHP code example of filippo-toso / rchilli

1. Go to this page and download the library: Download filippo-toso/rchilli 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/ */

    

filippo-toso / rchilli example snippets


use FilippoToso\RChilli\RchilliClient;

// Create the client
$client = new RchilliClient('<Your User Key>', '<Your Sub User Id>');

// Parse file
$parsed = $client->parseFile('your-cv.pdf');

print_r($parsed);

// Parse binary content
$content = file_get_contents('binary-data.pdf');
$parsed = $client->parseContent($content, 'origina-filename.pdf);

print_r($parsed);