PHPackages                             finq/laravel-ihamkor - 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. [API Development](/categories/api)
4. /
5. finq/laravel-ihamkor

ActiveLibrary[API Development](/categories/api)

finq/laravel-ihamkor
====================

Laravel package for i-Hamkor API integration

v0.0.2(5mo ago)017MITPHPPHP ^8.3

Since Dec 9Pushed 5mo agoCompare

[ Source](https://github.com/thefinq/laravel-ihamkor)[ Packagist](https://packagist.org/packages/finq/laravel-ihamkor)[ RSS](/packages/finq-laravel-ihamkor/feed)WikiDiscussions main Synced 1mo ago

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

i-Hamkor Laravel Package
========================

[](#i-hamkor-laravel-package)

Laravel package for i-Hamkor API integration.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 11.x or 12.x

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

[](#installation)

Install the package via Composer:

```
composer require finq/laravel-ihamkor
```

The package will automatically register its service provider.

Configuration
-------------

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag=ihamkor-config
```

Add the following environment variables to your `.env` file:

```
IHAMKOR_URL=https://api.i-hamkor.uz/
IHAMKOR_CLIENT_ID=your-client-id
IHAMKOR_USERNAME=your-username
IHAMKOR_PASSWORD=your-password
IHAMKOR_TIMEOUT=30
IHAMKOR_RETRY_TIMES=3
IHAMKOR_RETRY_SLEEP=100
```

Usage
-----

[](#usage)

### Using the Facade

[](#using-the-facade)

```
use Finq\Ihamkor\Facades\Ihamkor;

// Get taxi income data
$response = Ihamkor::taxiIncome($pinfl, $signature);

// Register user verification
$response = Ihamkor::registerMyId($pinfl, $job_id);

// Get person info
$response = Ihamkor::getPersonInfo($pinfl, $signature);
```

### Using Dependency Injection

[](#using-dependency-injection)

```
use Finq\Ihamkor\IhamkorService;

class YourController extends Controller
{
    public function __construct(
        protected IhamkorService $ihamkor
    ) {}

    public function index()
    {
        $response = $this->ihamkor->taxiIncome($pinfl, $signature);

        if ($response->successful()) {
            return $response->json();
        }

        return response()->json(['error' => 'Request failed'], 500);
    }
}
```

### Handling Responses

[](#handling-responses)

```
use Finq\Ihamkor\Facades\Ihamkor;

$response = Ihamkor::taxiIncome($pinfl, $signature);

// Check if request was successful
if ($response->successful()) {
    $data = $response->json();
}

// Check for specific status codes
if ($response->status() === 200) {
    // Handle success
}

// Get response body as array
$data = $response->json();

// Get response body as string
$body = $response->body();
```

Available Methods
-----------------

[](#available-methods)

MethodDescription`taxiIncome(string $pinfl, string $signature)`Get taxi income data from GNK marketplace`registerMyId(string $pinfl, string $job_id)`Register user verification via MyID`getPersonInfo(string $pinfl, string $signature)`Get person info by PINFL`getClient()`Get the underlying HTTP clientTesting
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance73

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Every ~0 days

Total

2

Last Release

153d ago

### Community

Maintainers

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

---

Top Contributors

[![professor93](https://avatars.githubusercontent.com/u/5443574?v=4)](https://github.com/professor93 "professor93 (3 commits)")

---

Tags

apilaravelУзбекистанihamkor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/finq-laravel-ihamkor/health.svg)

```
[![Health](https://phpackages.com/badges/finq-laravel-ihamkor/health.svg)](https://phpackages.com/packages/finq-laravel-ihamkor)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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