PHP code example of luminjo / php-sdk

1. Go to this page and download the library: Download luminjo/php-sdk 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/ */

    

luminjo / php-sdk example snippets


composer 

 

use Luminjo\PhpSdk\Luminjo;

$luminjo = new Luminjo($publicKey, $privateKey, $guzzleOptions = []);


   $tickets = $luminjo->ticket()->find([
   
       // 


   $questions = $luminjo->faq()->index([
       // optionnal 
       'category' => $categoryId,
   ]);


   $categories = $luminjo->faq()->categories();