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.7kMITPHPPHP &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 2d 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

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

1173d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7329990?v=4)[thehasanov](/maintainers/thehasanov)[@TheHasanov](https://github.com/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.7k108.5M885](/packages/laravel-socialite)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[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.5k21.5M593](/packages/laravel-boost)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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