Download the PHP package kiriminaja/kiriminaja-php without Composer
On this page you can find all versions of the php package kiriminaja/kiriminaja-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kiriminaja/kiriminaja-php
More information about kiriminaja/kiriminaja-php
Files in kiriminaja/kiriminaja-php
Package kiriminaja-php
Short Description PHP clients for KiriminAja API
License MIT
Homepage https://kiriminaja.com
Informations about the package kiriminaja-php
KiriminAja PHP SDK
Official PHP SDK for the KiriminAja logistics API.
Requirements
- PHP 8.1+
- ext-json
Installation
Quick Start
Call KiriminAjaConfig once at app startup, then call any service method on the KiriminAja facade.
Config Options
| Method | Description |
|---|---|
KiriminAjaConfig::setMode($mode) |
Mode::Staging or Mode::Production |
KiriminAjaConfig::setApiTokenKey($key) |
Your KiriminAja API key |
KiriminAjaConfig::setBaseUrl($url) |
Custom base URL (useful for proxy or self-hosted) |
KiriminAjaConfig::setCacheDirectory($path) |
Custom cache directory (useful if /tmp is not writable) |
KiriminAjaConfig::disableCache() |
Disable file-based caching entirely |
Custom Base URL
If you need to route requests through a proxy or custom endpoint, set a custom base URL. This overrides the default URL resolved from the mode.
Laravel Integration
The SDK auto-registers via Laravel package discovery — no manual provider registration needed.
1. Add to config/services.php
2. Add to your .env
3. Use the SDK anywhere
Config Reference (services.kiriminaja)
| Key | Env Variable | Default | Description |
|---|---|---|---|
mode |
KIRIMINAJA_MODE |
staging |
staging or production |
api_key |
KIRIMINAJA_API_KEY |
"" |
Your KiriminAja API key |
base_url |
KIRIMINAJA_BASE_URL |
null |
Custom base URL (overrides mode-based URL) |
cache_store |
KIRIMINAJA_CACHE_STORE |
laravel |
laravel (uses Laravel Cache) or file (file-based) |
cache_prefix |
KIRIMINAJA_CACHE_PREFIX |
kiriminaja: |
Cache key prefix (Laravel store only) |
CodeIgniter 4 Integration
CodeIgniter 4 doesn't auto-discover Composer packages, so you wire the SDK up once during boot.
1. Publish the config
Create app/Config/KiriminAja.php:
2. Bootstrap from app/Config/Events.php
3. Use the SDK anywhere
Config Reference (Config\KiriminAja)
| Property | Default | Description |
|---|---|---|
mode |
staging |
staging or production |
apiKey |
"" |
Your KiriminAja API key |
baseUrl |
null |
Custom base URL (overrides mode-based URL) |
cacheStore |
codeigniter |
codeigniter (uses CI4 cache service) or file (file-based) |
cachePrefix |
kiriminaja: |
Cache key prefix (codeigniter store only) |
The bootstrap helper also accepts a plain associative array — handy for tests or non-conventional setups:
KiriminAjaBootstrap::boot(['mode' => 'staging', 'api_key' => '...'], $cache);
Services
Address
Coverage Area & Pricing
Order — Express
Order — Instant
Courier
Credit
AWB (Print Waybill)
Calculations (COD)
Profile
Utilities — Volumetric
Estimate the smallest bounding box (length / width / height) for a multi-item package by trying three stacking strategies and returning the arrangement with the smallest volume.
Preference
Pickup Schedules
Payment
Contributing
For any requests, bugs, or comments, please open an issue or submit a pull request.
Development
All versions of kiriminaja-php with dependencies
guzzlehttp/guzzle Version >=6.0
ext-json Version *
blakvghost/php-validator Version ^2.3