PHPackages                             pakat/php-sdk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. pakat/php-sdk

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

pakat/php-sdk
=============

Pakat Identification System

10PHP

Since Aug 17Pushed 6y agoCompare

[ Source](https://github.com/my-pakat/PHP-SDK)[ Packagist](https://packagist.org/packages/pakat/php-sdk)[ RSS](/packages/pakat-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

How to USE
==========

[](#how-to-use)

1. Download This Repository

2/1. Open Pakat.php

2/2. Register your application in my-pakat.ir

2/3. Copy your application token

3. Replace your application token "{{PAKAT\_APPLICATION\_TOKEN}}"

4.You can use the code right now

Usage
=====

[](#usage)

```
require_once = "Pakat.php";
$Pakat = new Pakat();

```

$Pakat-&gt;requestForInformation($pakat\_id);
=============================================

[](#pakat-requestforinformationpakat_id)

in the first step you get user pakat id and send request with top function to pakat and send user pakat Id you got a Array response from this function with below parameter if the request response is true you take this

```
{
    "ok": true,
    "result": [
        "message": ['fa': "پیام", "en": "The Message"]
    ]
}

```

if the request response is false

```
{
    "ok": false,
    "error": [
        "code": (INT),
        "message": ["fa": "پیام", "en": "Message"]
    ]
}

```

after get true response you Pakat send a message to pakat ID you sent or take you a user\_hash (If user logged in the past) then you should take the verification code from user and use the verifyPakatId()

$Pakat-&gt;verifyPakatId($pakat\_id, $verify\_code);
====================================================

[](#pakat-verifypakatidpakat_id-verify_code)

you send pakat Id and verification code to pakat and then if the verification code is correct the pakat take you a user\_hash and if verification code isn't correct you take error from pakat

$Pakat-&gt;getUserInformation($user\_hash);
===========================================

[](#pakat-getuserinformationuser_hash)

now you can get user information with user\_hash

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5436684?v=4)[Armen Harutyunyan](/maintainers/mench)[@mench](https://github.com/mench)

---

Top Contributors

[![onyxtm](https://avatars.githubusercontent.com/u/24731252?v=4)](https://github.com/onyxtm "onyxtm (10 commits)")

### Embed Badge

![Health badge](/badges/pakat-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/pakat-php-sdk/health.svg)](https://phpackages.com/packages/pakat-php-sdk)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

791.3M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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