PHPackages                             idfy-eve/php - 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. idfy-eve/php

AbandonedArchivedLibrary[API Development](/categories/api)

idfy-eve/php
============

Web SDK for Integration with IDfy (Tasks api)

05PHP

Since Oct 16Pushed 7y agoCompare

[ Source](https://github.com/idfy/idfy-php)[ Packagist](https://packagist.org/packages/idfy-eve/php)[ RSS](/packages/idfy-eve-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

IDFY PHP Client
===============

[](#idfy-php-client)

PHP WEB SDK

PHP package for integration with IDfy-API.

Util to request IDfy's Extraction and Verification Engine services.

\##Installation

```
1. Ensure you have composer installed. Here is a link : https://getcomposer.org/download/
2. Add the following requirement to your composer.json file present in the project :
"require": {
        "idfy-eve/php": "dev-master"
    }
3. Run "composer require idfy-eve/sdk-php" from your project root directory
4. Add the following in your main php script:
    "require_once __DIR__ . '/vendor/autoload.php';"
```

\##Client-Initiation

- Setup your API key in the dashboard - [plans.idfy.com](plans.idfy.com)

```
$client = new Client($apikey="", account_id="YOUR_ACCOUNT_ID");
```

Please ensure the ***API\_KEY*** is included as a string.

\###Usage

\#####POST request

- Making API call to make service request.(Refer various ***services*** (or) ***task\_types*** here - ).

```
$client->post_request($task_type="pan_ocr", $task_id="4d4ggg87-53e5-4b6e-947a-04655eed588b",
            $data=array("doc_url"=> "https://tiimg.tistatic.com/fp/1/003/642/pan-card-ser554.jpg",);
```

- Mandatory arguments: ***task\_type*** *(string)*, ***task\_id*** *(string)*, ***data*** *(dictionary)*
- Optional arguments: ***group\_id*** *(string)*
- Ensure the ***task\_type*** is exactly mentioned as found in the [doc](https://api-docs.idfy.com/v2/#task-types).
- Strictly stick to the request-schema respective to the task\_types mentioned in the [doc](https://api-docs.idfy.com/v2/#task-types).
- ***request\_id*** in the response body is a unique-id, which will be used to query the response of the api-call.
- Response to the above API-request:

```
{
  "status": 202,
  "request_id": "e53992c5-6d6f-4d85-bc36-07f7442f91bc"
}
```

\#####**GET response**

- Making API call, to receive response from the request made in the above step. ***request\_id*** - generated in the previous step, will be an argument to get the response.

```
Syntax :
$client->get_response($request_id,$group_id,$task_id)

Example:
$client->get_response($request_id="e53992c5-6d6f-4d85-bc36-07f7442f91bc")
or
$client->get_response(null,$group_id="group-id")
```

- Mandatory argument(s) - ***request\_id*** *(string)*.
- Response from the above the API-call:

```
[
    {
        "status": "completed",
        "request_id": "e53992c5-6d6f-4d85-bc36-07f7442f91bc",
        "task_id": "4d48c187-53e5-4b6e-947a-04655eed588b",
        "group_id": "d468f87e-8e7b-4422-83eb-2edf4c1cfb95",
        "created_at": "2018-09-03T08:12:57+00:00",
        "completed_at": "2018-09-03T08:13:07+00:00",
        "tat": "10.081501662",
        "ocr_output": {
            "pan_number": "BJAPS7****",
            "pan_type": "Individual",
            "name_on_card": "Sr*****",
            "fathers_name": "Ven*******",
            "date_on_card": "1984-04-07",
            "date_of_issue": "2006-12-27",
            "age": 34,
            "is_scanned": false,
            "minor": false,
            "raw_text": "INCOME TAX DEPARTMENT\nGOVT OF INDIA\nSRXXXXXXX G V\nVEN********\n07/04/1984\nPermanent Account Number\nBJAPSXXXX\nSignature\n"
        }
    }
]
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d41440e54b9ca26e947c900e4fcd26005878bdfd55327e43a2e3f40895b66681?d=identicon)[idfy-tech](/maintainers/idfy-tech)

---

Top Contributors

[![sagark317](https://avatars.githubusercontent.com/u/41319782?v=4)](https://github.com/sagark317 "sagark317 (41 commits)")

### Embed Badge

![Health badge](/badges/idfy-eve-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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