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

ActiveLibrary[API Development](/categories/api)

checkhim/php
============

SDK for integrating with the CheckHim API to verify active phone numbers.

00PHPCI passing

Since Sep 15Pushed 8mo agoCompare

[ Source](https://github.com/checkhim/php-sdk)[ Packagist](https://packagist.org/packages/checkhim/php)[ RSS](/packages/checkhim-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CheckHim PHP SDK
================

[](#checkhim-php-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/241a9d36243375c0f0ba9889c5a42f82a8466bbba94e16bdb5d136e28bc41d70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636865636b68696d2f7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/checkhim/php)[Packagist: checkhim/php](https://packagist.org/packages/checkhim/php)

Official SDK for integrating with the CheckHim API () to verify if a phone number is active.

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

[](#installation)

Via Composer:

```
composer require checkhim/php

```

Basic Usage
-----------

[](#basic-usage)

```
require 'vendor/autoload.php';

use CheckHim\CheckHim;

$client = new CheckHim('ch_test_your_api_key');

try {
    $r = $client->verify('+5511984339000');
    echo "Valid: " . ($r['valid'] ? 'yes' : 'no') . " Carrier: " . $r['carrier'] . PHP_EOL;
} catch (Exception $e) {
    echo "Error: {$e->getMessage()}" . PHP_EOL;
}
```

Response Example
----------------

[](#response-example)

```
{
  "carrier": "TIM",
  "valid": true
}
```

If the API returns an error, the response will be:

```
{
  "error": "verification failed: Network is forbidden (code: 6)",
  "code": "REJECTED_NETWORK",
  "http_status": 400
}
```

Documentation
-------------

[](#documentation)

- [API Docs](https://checkhim.tech)

Contributing
------------

[](#contributing)

Contributions are welcome! To contribute:

1. Fork this repository and create your branch from `main`.
2. Install dependencies with `composer install`.
3. Write clear, tested code and add/adjust tests in the `tests/` directory.
4. Run tests locally with: ```
    php vendor/bin/phpunit --testdox

    ```
5. Open a Pull Request with a clear description of your changes.

For bug reports or feature requests, please open an issue.

License
-------

[](#license)

MIT

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance43

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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://www.gravatar.com/avatar/87c4aeef3e8a17b0d7fce44a351edd8df94bd3ba28c1bbb9c19634fcc976b8e3?d=identicon)[arikardnoir](/maintainers/arikardnoir)

---

Top Contributors

[![arikardnoir](https://avatars.githubusercontent.com/u/18501593?v=4)](https://github.com/arikardnoir "arikardnoir (15 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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