PHP code example of codeiqbv / laravel-kolmisoft

1. Go to this page and download the library: Download codeiqbv/laravel-kolmisoft 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/ */

    

codeiqbv / laravel-kolmisoft example snippets


return [
    'username' => env('KOLMISOFT_USERNAME'),
    'password' => env('KOLMISOFT_PASSWORD'),
    'api_url' => env('KOLMISOFT_API_URL'),
    'auth_key' => env('KOLMISOFT_AUTH_KEY'),
    'use_hash' => true,
];

$kolmisoft = new CODEIQBV\Kolmisoft\Api\Call();
$response = $kolmisoft->getUserCalls([
    's_user' => 123,
    'period_start' => strtotime('2024-01-01 00:00'),
    'period_end' => strtotime('2024-01-31 23:59'),
]);
bash
php artisan vendor:publish --tag="laravel-kolmisoft-config"