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

ActiveLibrary[API Development](/categories/api)

instasent/instasent-php-lib
===========================

A PHP wrapper library for Instasent's API

0.1.4(5y ago)342.5k↓30.2%31MITPHPPHP &gt;=5.2.1

Since May 10Pushed 5y ago2 watchersCompare

[ Source](https://github.com/instasent/instasent-php-lib)[ Packagist](https://packagist.org/packages/instasent/instasent-php-lib)[ Docs](http://github.com/instasent/instasent-php-lib)[ RSS](/packages/instasent-instasent-php-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (1)

Welcome to **Instasent PHP SDK**. This repository contains PHP SDK for Instasent's REST API.

Notice!
=======

[](#notice)

> **Verify** product is currently deprecated and will be removed in the next release. The same functionality can be easily implemented by sending an SMS. If you need help migrating please contact us

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

[](#installation)

The easiest way to install the SDK is either via composer:

```
composer require instasent/instasent-php-lib

```

or manually by downloading the source:

[Click here to download the source (.zip)](https://github.com/instasent/instasent-php-lib/zipball/master)

Once you download the library, move the instasent-php-lib folder to your project directory and then include the library file:

```
require_once(__DIR__ . '/path/to/lib/Abstracts/InstasentClient.php');
require_once(__DIR__ . '/path/to/lib/SmsClient.php');

```

Usage
=====

[](#usage)

Check the [examples directory](https://github.com/instasent/instasent-php-lib/tree/master/examples) to see working examples of this SDK usage

### Sending an SMS

[](#sending-an-sms)

```
$instasentClient = new Instasent\SmsClient('my-token');
$response = $instasentClient->sendSms('Company', '+34666666666', 'test message');

echo $response['response_code'];
echo $response['response_body'];
```

If you want to send an Unicode SMS (i.e with 😀 emoji) you only need to replace `sendSms` call to `sendUnicodeSms`

```
$response = $instasentClient->sendUnicodeSms('Company', '+34666666666', 'Unicode test: ña éáíóú 😀');
```

Available actions
-----------------

[](#available-actions)

```
SMS
SmsClient::sendSms(sender, to, text)
SmsClient::sendUnicodeSms(sender, to, text)
SmsClient::getSms(page, per_page)
SmsClient::getSmsById(message_id)

LOOKUP
LookupClient::doLookup(to)
LookupClient::getLookups(page, per_page)
LookupClient::getLookupById(id)

ACCOUNT
instasent::getAccountBalance()

```

Full documentation
==================

[](#full-documentation)

Full documentation of the API can be found at

Getting help
============

[](#getting-help)

If you need help installing or using the SDK, please contact Instasent Support at

If you've instead found a bug in the library or have a feature request, go ahead and open an issue or pull request!

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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

Every ~383 days

Total

5

Last Release

2125d ago

### Community

Maintainers

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

---

Top Contributors

[![markitosgv](https://avatars.githubusercontent.com/u/1706470?v=4)](https://github.com/markitosgv "markitosgv (18 commits)")[![juliangut](https://avatars.githubusercontent.com/u/1104131?v=4)](https://github.com/juliangut "juliangut (2 commits)")[![eclyptox](https://avatars.githubusercontent.com/u/710096?v=4)](https://github.com/eclyptox "eclyptox (1 commits)")[![senenh](https://avatars.githubusercontent.com/u/5528076?v=4)](https://github.com/senenh "senenh (1 commits)")

---

Tags

apismslookupinstasent

### Embed Badge

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

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

###  Alternatives

[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[melipayamak/php

A PHP wrapper for melipayamak's web services

3294.4k5](/packages/melipayamak-php)[smsfactor/smsfactor-php-sdk

SMSFactor client library for PHP

15382.5k2](/packages/smsfactor-smsfactor-php-sdk)

PHPackages © 2026

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