PHPackages                             mcheck/mcheck-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. mcheck/mcheck-php

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

mcheck/mcheck-php
=================

MCheck SDK for PHP

1.0(8y ago)062MITPHPPHP &gt;=5.3.2

Since Mar 26Pushed 6y ago3 watchersCompare

[ Source](https://github.com/kazinfoteh/mcheck-php)[ Packagist](https://packagist.org/packages/mcheck/mcheck-php)[ Docs](https://github.com/kazinfoteh/mcheck-php)[ RSS](/packages/mcheck-mcheck-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

mcheck-php
==========

[](#mcheck-php)

Requirements
============

[](#requirements)

In order to use the library you need to have available one of `CURL` extension or `HTTP_Request2`:

For `CURL`:

```
php-curl
php-openssl

```

For `HTTP_Request2` :

```
pear install HTTP_Request2-2.3.0

```

By default the SDK is checking for `CURL` extension first and then fallbacks to `HTTP_Request2`. You can specify the method using the second argument from `MCheckRest` constructor.

Installation
============

[](#installation)

The SDk can be installed using `Composer`:

```
composer require  mcheck/mcheck-php
```

API Documentation
=================

[](#api-documentation)

MCheck APIs are based on `HTTP` methods, which make it easy to integrate into your own products. You can use any `HTTP` client in any programming language to interact with the API. The SDK is only a wrapper over the REST API described [here](http://isms.center/)

Basic Usage for SDK:
====================

[](#basic-usage-for-sdk)

For all properties accepted by the following methods check [the documentation](http://isms.center/).

```
//create an instance of `MCheckRest`

use mcheck\MCheckRest;

$api = new MCheckRest("secret key here");

//validate a number using "Missed sms method". (type can be : sms)

$response = $api->RequestValidation(array("type" => "sms", "phone" => "+number_here"));

//verify a pin for a certain request

$response = $api->VerifyPin(array("id" => "request id here", "pin" => "5659"));

//check validation status for a certain request

$response = $api->ValidationStatus(array("id" => "request id here"));
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

2972d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

number validationmcheck

### Embed Badge

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

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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