codeiqbv/laravel-kolmisoft

Integration between Laravel and Kolmisoft MOR

v1.0.2 2024-12-07 01:10 UTC

This package is auto-updated.

Last update: 2024-12-07 01:11:28 UTC


README

Latest Version on Packagist Total Downloads

This package integrates Laravel applications with Kolmisoft MOR, providing a simple and flexible way to interact with MOR's APIs.

Installation

You can install the package via composer:

composer require codeiqbv/laravel-kolmisoft

You can publish the config file with:

php artisan vendor:publish --tag="laravel-kolmisoft-config"

This is the contents of the published config file:

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

Usage

Example usage:

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

For more details, check out the WIKI Documentation.

Requirements

  • PHP version 8 or higher

Questions or Issues

If you encounter any questions or issues, please create an issue on GitHub. We aim to fix bugs within 24 to 48 hours.

Contributing

This package is community-managed, and we welcome contributions from everyone. Please see CONTRIBUTING for details.

Official Documentation

The official documentation of Kolmisoft can be found on their Wiki.

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.