PHPackages                             hammash/yii2-checkout-payment - 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. hammash/yii2-checkout-payment

ActiveYii2-extension[Payment Processing](/categories/payments)

hammash/yii2-checkout-payment
=============================

yii2 checkout payment extension

06PHP

Since Dec 3Pushed 7y agoCompare

[ Source](https://github.com/Hammash/yii2-checkout-payment)[ Packagist](https://packagist.org/packages/hammash/yii2-checkout-payment)[ RSS](/packages/hammash-yii2-checkout-payment/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2 checkout payment extension
===============================

[](#yii2-checkout-payment-extension)

yii2 checkout payment extension

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist hammash/yii2-checkout-payment "*"

```

or add

```
"hammash/yii2-checkout-payment": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1- Set (test/CheckoutController) in api\\versions\\v1\\controllers\\CheckoutController.php

2- Create Helper in common/component/Helpers to get data from your DB

3- in main-local.php

'checkout'=&gt;\[

```
        'class' => 'hammash\checkout\Checkout',
        'secretKey' => 'sk_test_7904bf0b-9ae2-47c1-aa78-0cb962294320',
        'publicKey' => 'pk_test_d1392567-896b-4063-96f7-84e0a0b7976c',
        'debugMode' => true,
        'mode' => 'sandbox',
    ],

```

4- EX:

API :

HEADER :

Authorization: ODIxNjc5MjAxNS0xMS0wOCAxNToxOTo0MDAuOTAwODczNDY4MTY1MTY4

PARAMETER:

token:card\_tok\_B011B366-8B32-48F1-97ED-8CFE1C145D99

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30939003?v=4)[hammash](/maintainers/Hammash)[@Hammash](https://github.com/Hammash)

### Embed Badge

![Health badge](/badges/hammash-yii2-checkout-payment/health.svg)

```
[![Health](https://phpackages.com/badges/hammash-yii2-checkout-payment/health.svg)](https://phpackages.com/packages/hammash-yii2-checkout-payment)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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