Installation
Follow the instructions below to install the KRA eTIMS OSCU SDKs for your preferred programming language. Each SDK is production-ready and maintained by Paybill.
- PHP
- JavaScript / Typescript
- Python
PHP SDK Installation
- Ensure Composer is installed:
composer -V
- Install the KRA eTIMS PHP SDK via Composer:
composer require paybilldev/kra-etims-sdk
- Verify installation:
php -r "require 'vendor/autoload.php'; echo 'SDK installed successfully';"
JavaScript / Typescript SDK Installation
- Ensure Node.js 18+ is installed:
node -v
npm -v
- Install the KRA eTIMS Node.js SDK via npm:
npm install @paybilldev/kra-etims-sdk
Alternatively, use yarn:
yarn add @paybilldev/kra-etims-sdk
Python SDK Installation
- Ensure Python 3.9+ is installed:
python --version
pip --version
- Install the KRA eTIMS Python SDK via pip:
pip install kra-etims-sdk
- Verify installation:
python -c "import kra_etims_sdk; print('SDK installed successfully')"
- Optional: Set up a virtual environment:
python -m venv venv
source venv/bin/activate # Linux / macOS
venv\Scripts\activate # Windows
Next Steps
- 👉 Review Configuration to set up your environment variables
- 👉 Check API Reference for detailed endpoint documentation