PHPackages                             chameleon/yigimphp - 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. [Framework](/categories/framework)
4. /
5. chameleon/yigimphp

ActiveLibrary[Framework](/categories/framework)

chameleon/yigimphp
==================

Yigim PHP &amp; Laravel package

0.4(3y ago)13.6kMITPHPPHP &gt;=7.1

Since Feb 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/The-Hasanov/YigimPHP)[ Packagist](https://packagist.org/packages/chameleon/yigimphp)[ RSS](/packages/chameleon-yigimphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

Yigim Laravel
=============

[](#yigim-laravel)

---

#### Install

[](#install)

Laravel 5.5+

```
composer require chameleon/yigimphp
```

### Usage

[](#usage)

#### Laravel

[](#laravel)

```
$client = Yigim::createClient([
    'msisdn' => '+994112223344',
    'name'   => 'Client'
]);
$invoice = Yigim::createInvoice([
    'client'    => $client->payload('reference'),
    'name'      => 'Payment Name',
    'amount'    => 100, //1azn
    'currency'  => 944,
    'reference' => 'yourUniquePaymentReference',
    'deadline'  => Carbon::now()->toDateString(),
    'status'    => 4,
    'option'    => [1, 2, 4]
]);
$invoice->payload('number');

//Hook

/**
 * @var \Illuminate\Http\Request $request
 */
$yigimHook = Yigim::handleHook(config('yigim.hook_key'), $request->query());
if ($yigimHook->type() === YigimHook::TYPE['INVOICE']) {
    $invoice = Yigim::getInvoice($yigimHook->reference());
    $invoiceNumber = $invoice->payload('number'));
    if ($invoiceNumber !== null) {
        switch ($yigimHook->action()) {
            case YigimHook::INVOICE_ACTION['PAID_FULL']:
                // pay full
            case YigimHook::INVOICE_ACTION['PAID_PART']:
                // pay part
            case YigimHook::INVOICE_ACTION['CANCEL']:
            case YigimHook::INVOICE_ACTION['DELETE']:
                // Cancel
        }
    }
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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

Every ~193 days

Recently: every ~284 days

Total

7

Last Release

1126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4112d7bed6b2a136e3ec8eeacdb59af403fef71e3765d375a606ad49d54fd6aa?d=identicon)[thehasanov](/maintainers/thehasanov)

---

Top Contributors

[![The-Hasanov](https://avatars.githubusercontent.com/u/8019071?v=4)](https://github.com/The-Hasanov "The-Hasanov (20 commits)")[![srustamov](https://avatars.githubusercontent.com/u/22997563?v=4)](https://github.com/srustamov "srustamov (1 commits)")

---

Tags

laravelyigim

### Embed Badge

![Health badge](/badges/chameleon-yigimphp/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k10.6M274](/packages/laravel-boost)[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89169.7M111](/packages/laravel-slack-notification-channel)[laravel/envoy

Elegant SSH tasks for PHP.

1.6k5.5M18](/packages/laravel-envoy)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)

PHPackages © 2026

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