PHP code example of mjacobus / lever-api-client

1. Go to this page and download the library: Download mjacobus/lever-api-client 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/ */

    

mjacobus / lever-api-client example snippets


use Lever\Api\Client;

$client = new Client([
    'authToken' => '{myApiToken}',
]);

$postings = $client->get('/postings', [
    'limit' => 100,
]);
bash
# Fixes code
./bin/php-cs-fix.sh

# outputs error
./bin/php-cs-fix.sh src true
./bin/php-cs-fix.sh test true