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

ActiveLibrary[API Development](/categories/api)

urhitech/urhitech-sms-php
=========================

PHP SDK for the Urhitech Bulk SMS API

v1.0.0(4y ago)11012MITPHPPHP &gt;=5.3.0

Since Nov 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sefakor20/urhitech-sms-php)[ Packagist](https://packagist.org/packages/urhitech/urhitech-sms-php)[ RSS](/packages/urhitech-urhitech-sms-php/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Urhitech SMS PHP SDK
====================

[](#urhitech-sms-php-sdk)

The Urhitech SMS PHP SDK provides a suitable approach to the USMSGH API from applications written in PHP. It includes pre-defined set of classes and functions for API resource that initialize themeselves from API responses.

The library provides other features. For Example:

1. Easy configuration path for fast setup and use
2. Helpers for pagination.

You can sign up for a USMSGH account at [usmsgh.com](https://www.usmsgh.com)

Prerequisites
-------------

[](#prerequisites)

PHP 5.6.0 and later

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

[](#installation)

Via [Composer](http://getcomposer.org/)

```
composer require urhitech/urhitech-sms-php

```

Via Git Bash

```
git clone https://github.com/sefakor20/urhitech-sms-php.git

```

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

[](#documentation)

Please see  for up-to-date documentation

Usage
-----

[](#usage)

### Step 1:

[](#step-1)

If you install the Urhitech SMS PHP SDK via Git Clone then load the Urhitech SMS PHP API class file and use namespace.

```
require_once '/path/to/src/Usms.php';
use Urhitech\Usms;
```

If you install Urhitech SMS PHP SDK via [Composer](http://getcomposer.org/) the Require the autoload.php file in the index.php of your project or whatever file you need to use Urhitech SMS PHP API classes.

```
require __DIR__ . '/vendor/autoload.php';
use  Urhitech\Usms;
```

The Urhitech SMS PHP SDK endpoints are RESTful, and consume and return JSON. All Http endpoints requires an API Key in the request header.

For more information on how to get an API Key visit [here](https://webapp.usmsgh.com/developers) to copy or generate new key for authorization.

HTTP ENDPOINTS
--------------

[](#http-endpoints)

-
- [https://webapp.usmsgh.com/api/sms/{uid}](https://webapp.usmsgh.com/api/sms/%7Buid%7D)
-
-
-
-
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/show/](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/show/)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/store](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/store)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/search/{uid}](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/search/%7Buid%7D)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/update/{uid}](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/update/%7Buid%7D)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/delete/{uid}](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/delete/%7Buid%7D)
- [https://webapp.usmsgh.com/api/contacts/{group\_id}/all](https://webapp.usmsgh.com/api/contacts/%7Bgroup_id%7D/all)

### Step 2:

[](#step-2)

Instantiate the UrhitechSMSPHPAPI

```
$client = new Urhitech\Usms;
```

Send SMS
--------

[](#send-sms)

```
$api_key = "Enter Your API Key here";

$url = "https://webapp.usmsgh.com/api/sms/send";

$recipients = "233500000000,233540000000";
$message = "Hello world";
$senderid = "Enter your approved sender ID here";

$response = $client->send_sms($url, $api_key, $senderid, $recipients, $message);
```

Check SMS Credit Balance
------------------------

[](#check-sms-credit-balance)

```
$api_key = "Enter Your API Key here";

$url = "https://webapp.usmsgh.com/api/balance";

$get_credit_balance = $client->check_balance($url, $api_key);
```

View Profile
------------

[](#view-profile)

```
$api_key = "Enter Your API Key here";

$url = "https://webapp.usmsgh.com/api/me";

$get_profile = $client->profile($url, $api_key);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

1636d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/urhitech-urhitech-sms-php/health.svg)](https://phpackages.com/packages/urhitech-urhitech-sms-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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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