An open API service indexing awesome lists of open source software.

https://github.com/kiriminaja/php

KiriminAja API Client for PHP - Pickup Request, Tracking, Mapping and Integration Tools
https://github.com/kiriminaja/php

codeigniter composer kiriminaja laravel packagist php php-library rest-api symfony

Last synced: about 1 month ago
JSON representation

KiriminAja API Client for PHP - Pickup Request, Tracking, Mapping and Integration Tools

Awesome Lists containing this project

README

        

# KiriminAja API SDK
This library is the abstraction of KiriminAja API for access from applications written with PHP.

Total Downloads
Latest Stable Version
License

## Getting Started
### Requirements
PHP 8.0 and later

### Installation

Install `kiriminaja-php` with composer by following command:

```bash
composer require kiriminaja/kiriminaja-php
```
or add it manually in your composer.json file.

### Usage
Configure package with your account's secret key obtained from KiriminAja Document Assignment.
```php
$mode = 'production' ? Mode::Production : Mode::Staging;

KiriminAjaConfig::setMode($mode)::setApiTokenKey('YOUR_KEY');
```
You can read our test case for the examples https://github.com/kiriminaja/php/blob/main/tests/Services/Shipping/RequestPickupService/RequestPickupServiceSuccessTest.php

### Contributing

For any requests, bugs, or comments, please open an [issue](https://github.com/kiriminaja/kiriminaja-php/issues) or [submit a pull request](https://github.com/kiriminaja/kiriminaja-php/pulls).

### Installing Packages

Before you start to code, run this command to install all of the required packages. Make sure you have `composer` installed in your computer

```bash
composer install
```

### Tests

#### Running test suite:

```bash
vendor\bin\phpunit tests
```