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 yesterday

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://www.gravatar.com/avatar/29896fe852ed57e8eed87ddc39a74d81ab7b3e70a70b9d2ee6d5e404d754dbf5?d=identicon)[Hammash](/maintainers/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/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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