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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package kiriminaja-php

KiriminAja PHP SDK

Total Downloads Latest Stable Version

Official PHP SDK for the KiriminAja logistics API.

Requirements

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

PHP Build Version
Package Version
Requires php Version >=8.1
guzzlehttp/guzzle Version >=6.0
ext-json Version *
blakvghost/php-validator Version ^2.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kiriminaja/kiriminaja-php contains the following files

Loading the files please wait ...