PHPackages                             smart-raya/ippanel-laravel - 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. smart-raya/ippanel-laravel

ActiveLibrary[API Development](/categories/api)

smart-raya/ippanel-laravel
==========================

A simple API extension for send text message By IPPanel in Laravel

v1.0(5y ago)71.0k[3 issues](https://github.com/SmartRaya/IPPanel-Laravel/issues)MITPHPPHP &gt;=5.6.4

Since Jun 8Pushed 3y agoCompare

[ Source](https://github.com/SmartRaya/IPPanel-Laravel)[ Packagist](https://packagist.org/packages/smart-raya/ippanel-laravel)[ RSS](/packages/smart-raya-ippanel-laravel/feed)WikiDiscussions master Synced 1w ago

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

IPPanel Laravel SDK
===================

[](#ippanel-laravel-sdk)

This repository contains open source Laravel client for `ippanel` API. Documentation can be found at: .

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

[](#installation)

use with composer:

```
composer require smart-raya/ippanel-laravel
```

then publish config file:

```
php artisan vendor:publish --provider="SmartRaya\IPPanelLaravel\IPPanelServiceProvider"
```

and add `IPPANEL_API` in `.env` file

```
APP_NAME=Laravel
APP_ENV=local
...

IPPANEL_API=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

Examples
--------

[](#examples)

For using sdk, you only need to call `IPPanel::Command()`

### Credit check

[](#credit-check)

```
# return float64 type credit amount
$credit = IPPanel::getCredit();
```

### Send one to many

[](#send-one-to-many)

For sending sms, obviously you need `originator` number, `recipients` and `message`.

```
$bulkID =IPPanel::send(
    "+9810001",          // originator
    ["98912xxxxxxx"],    // recipients
    "ippanel is awesome" // message
);
```

If send is successful, a unique tracking code returned and you can track your message status with that.

### Get message summery

[](#get-message-summery)

```
$bulkID = "message-tracking-code";

$message = IPPanel::get_message($bulkID);

echo $message->status;   // get message status
echo $message->cost;     // get message cost
echo $message->payback;  // get message payback
```

### Get message delivery statuses

[](#get-message-delivery-statuses)

```
$bulkID = "message-tracking-code"

list($statuses, $paginationInfo) = IPPanel::fetchStatuses($bulkID, 0, 10)

// you can loop in messages statuses list
foreach($statuses as status) {
    echo sprintf("Recipient: %s, Status: %s", $status->recipient, $status->status);
}

echo sprintf("Total: ", $paginationInfo->total);
```

### Inbox fetch

[](#inbox-fetch)

fetch inbox messages

```
list($messages, $paginationInfo) = IPPanel::fetchInbox(0, 10);

foreach($messages as $message) {
    echo sprintf("Received message %s from number %s in line %s", $message->message, $message->sender, $message->number);
}
```

### Pattern create

[](#pattern-create)

For sending messages with predefined pattern(e.g. verification codes, ...), you hav to create a pattern. a pattern at least have a parameter. parameters defined with `%param_name%`.

```
$pattern = IPPanel::createPattern("%name% is awesome", False);

echo $pattern->code;
```

### Send with pattern

[](#send-with-pattern)

```
$patternValues = [
    "name" => "IPPANEL",
];

$bulkID = IPPanel::sendPattern(
    "t2cfmnyo0c",    // pattern code
    "+9810001",      // originator
    "98912xxxxxxx",  // recipient
    $patternValues,  // pattern values
);
```

### Error checking

[](#error-checking)

```
use SmartRaya\IPPanelLaravel\Errors\Error;
use  SmartRaya\IPPanelLaravel\Errors\HttpException;

try{
    $bulkID = IPPanel::send("9810001", ["98912xxxxx"], "ippanel is awesome");
} catch (Error $e) { // ippanel error
    var_dump($e->unwrap()); // get real content of error
    echo $e->getCode();

    // error codes checking
    if ($e->code() == ResponseCodes::ErrUnprocessableEntity) {
        echo "Unprocessable entity";
    }
} catch (HttpException $e) { // http error
    var_dump($e->getMessage()); // get stringified error
    echo $e->getCode();
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c809629e61534555e4f01646df4b5d962699405b1e6250c68461dc83ed6c218c?d=identicon)[keivan-S](/maintainers/keivan-S)

---

Top Contributors

[![Keivan-S](https://avatars.githubusercontent.com/u/26972574?v=4)](https://github.com/Keivan-S "Keivan-S (3 commits)")[![safaeean](https://avatars.githubusercontent.com/u/19506782?v=4)](https://github.com/safaeean "safaeean (1 commits)")

---

Tags

smsIPPanelSmartRaya

### Embed Badge

![Health badge](/badges/smart-raya-ippanel-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/smart-raya-ippanel-laravel/health.svg)](https://phpackages.com/packages/smart-raya-ippanel-laravel)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[aloha/twilio

Twilio API for Laravel

4733.6M5](/packages/aloha-twilio)[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)[smsapi/php-client

SMSAPI API PHP Client

652.1M17](/packages/smsapi-php-client)[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)

PHPackages © 2026

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