> ## Documentation Index
> Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Official SDKs

> Pick the LigdiCash SDK that fits your stack: Python, JavaScript/TypeScript, PHP, or Dart/Flutter.

The official LigdiCash SDKs wrap HTTP calls, payload serialization, and error handling. They expose the same three operations in every language: hosted payin, direct payin, payout, and status verification.

## Available SDKs

<CardGroup cols={2}>
  <Card title="Python" icon="python" href="/en/sdk/python">
    `pip install ligdicash` — Django, Flask, FastAPI backends, and server-side scripts.
  </Card>

  <Card title="JavaScript / TypeScript" icon="js" href="/en/sdk/javascript">
    `npm install ligdicash` — Node.js, TypeScript, NestJS. Types included.
  </Card>

  <Card title="PHP" icon="php" href="/en/sdk/php">
    `composer require ligdicash/ligdicash` — Laravel, Symfony, custom WordPress.
  </Card>

  <Card title="Dart / Flutter" icon="mobile" href="/en/sdk/dart-flutter">
    `ligdicash: ^1.0.2` — Flutter iOS and Android applications.
  </Card>

  <Card title="WordPress / WooCommerce" icon="wordpress" href="/en/sdk/wordpress-woocommerce">
    ZIP plugin to install manually — no code required.
  </Card>
</CardGroup>

## Quick comparison

|                   | Python                                                  | JavaScript                                                  | PHP                        | Dart                                                  | WordPress   |
| ----------------- | ------------------------------------------------------- | ----------------------------------------------------------- | -------------------------- | ----------------------------------------------------- | ----------- |
| **Version**       | 1.0.5                                                   | 1.0.2                                                       | —                          | 1.0.2                                                 | 2.2.0       |
| **Install**       | pip                                                     | npm                                                         | Composer                   | pub.dev                                               | Manual ZIP  |
| **Init**          | Module globals                                          | `new Ligdicash()` instance                                  | `new Ligdicash()` instance | `Ligdicash()` instance                                | WP admin UI |
| **Network calls** | Synchronous                                             | `async/await`                                               | Synchronous                | `async/await`                                         | — (plugin)  |
| **Types**         | —                                                       | Native TypeScript                                           | —                          | `PlatformType`, `TransactionType` enums               | —           |
| **Source**        | [GitHub](https://github.com/Ligdicash/ligdicash-python) | [GitHub](https://github.com/Ligdicash/ligdicash-javascript) | —                          | [GitHub](https://github.com/Ligdicash/ligdicash-dart) | —           |

## Which SDK should you pick?

**Web backend** — pick the SDK that matches your server language (Python, PHP, or JavaScript/Node.js). All three fit naturally into a controller or route.

**Flutter mobile app** — use the Dart SDK. It handles `Future<>` natively and uses idiomatic Dart named parameters.

**WordPress + WooCommerce site** — use the plugin. No code to write: install the ZIP, enter your API keys in the WooCommerce admin interface, and the payment gateway is ready.

**No SDK for your language?** Call the HTTP endpoints directly from the [Endpoints reference](/en/reference/introduction). Each endpoint page includes the cURL examples.

<Card title="LigdiCash skill for Claude Code" icon="brain-circuit" color="#e11d48" href="/en/sdk/ai-skill">
  Install the skill so Claude Code, Cursor, and Windsurf know the LigdiCash API out of the box.
</Card>

## What every SDK exposes

Whatever the language, you get three objects/functions:

| Object / Function | Role                                                                                 |
| ----------------- | ------------------------------------------------------------------------------------ |
| `Invoice`         | Creates an invoice, adds items, triggers a payin (hosted or direct)                  |
| `Withdrawal`      | Triggers a payout to a customer's LigdiCash wallet or directly to their mobile money |
| `getTransaction`  | Checks the status of a transaction from its token                                    |
