PHPackages                             kyash/api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. kyash/api

ActiveLibrary[Payment Processing](/categories/payments)

kyash/api
=========

Integrate with the Kyash Payment Gateway.

v1.0.0(11y ago)07[1 issues](https://github.com/Gubbi/kyash_php/issues)MITPHPPHP &gt;=5.4.0

Since May 9Pushed 9y ago3 watchersCompare

[ Source](https://github.com/Gubbi/kyash_php)[ Packagist](https://packagist.org/packages/kyash/api)[ Docs](https://github.com/Gubbi/kyash_php)[ RSS](/packages/kyash-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

kyash\_php
==========

[](#kyash_php)

PHP library to access the [Kyash Payment Gateway](http://www.kyash.com/) API.

### Usage

[](#usage)

Install the latest version with `composer require kyash/api`

```
use Kyash\Collection;

// Get the Kyash Credentials from your Kyash Account API Settings. There is a separate set of credentials for production and development environments.
$kyash = Collection('public_api_id', 'api_secret');

$kyash_code = $kyash->getKyashCode('T12345678');

if ($kyash_code['status'] === 'paid') {
    $kyash->capture($kyash_code['id']);
}
```

Please refer to the Kyash [Merchant API](http://secure.kyash.com/doc/merchant_api.pdf) documentation for more details about the request parameters and response. All functions in this library take an array of request parameters of their corresponding API call and return an array representing the JSON response of the API.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4027d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7431cf7f693f2bd1654980613b8a60498c67f8f1b1aa239ace8aeacafba3d7d?d=identicon)[kyash](/maintainers/kyash)

---

Top Contributors

[![amarnathsps](https://avatars.githubusercontent.com/u/3509117?v=4)](https://github.com/amarnathsps "amarnathsps (2 commits)")

---

Tags

cashpayment gatewayindiakyashcollect cash payment

### Embed Badge

![Health badge](/badges/kyash-api/health.svg)

```
[![Health](https://phpackages.com/badges/kyash-api/health.svg)](https://phpackages.com/packages/kyash-api)
```

###  Alternatives

[shetabit/payment

Laravel Payment Gateway Integration Package

944330.1k5](/packages/shetabit-payment)[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[razorpay/magento

Razorpay Magento 2.0 plugin for accepting payments.

3076.5k1](/packages/razorpay-magento)[cybersource/rest-client-php

Client SDK for CyberSource REST APIs

39881.3k6](/packages/cybersource-rest-client-php)[jomweb/billplz

PHP Agnostic library for working with BillPlz API

77199.0k3](/packages/jomweb-billplz)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
