PHPackages                             lifetimesms/gateway - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. lifetimesms/gateway

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

lifetimesms/gateway
===================

Lifetimesms sms sending module to send business SMS

1.0.0(6y ago)1642MITPHPPHP ^7.2

Since Nov 28Pushed 1mo ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

Lifetimesms SMS Sending Package
===============================

[](#lifetimesms-sms-sending-package)

Lifeitmesms laravel package to send single or bulk text and voice sms and for balance inquiry

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

[](#installation)

```
composer require lifetimesms/gateway

```

Laravel 5 and above
-------------------

[](#laravel-5-and-above)

### Setup

[](#setup)

In `app/config/app.php` add the following :

1- The ServiceProvider to the providers array :

```
Lifetimesms\Gateway\LifetimesmsServiceProvider::class,
```

2- The class alias to the aliases array :

```
'Lifetimesms' =>  Lifetimesms\Gateway\Facades\LifetimesmsFacade::class,
```

3- Publish the config file

```
php artisan vendor:publish --tag="lifetimesms"

```

### Configuration

[](#configuration)

Add `LIFETIMESMS_API_TOKEN` and `LIFETIMESMS_API_SECRET` in **.env** file :

```
LIFETIMESMS_API_TOKEN=api-token
LIFETIMESMS_API_SECRET=api-secret

```

### Usage

[](#usage)

Send Single SMS :

```
$params = ['to' => '03348090100', 'from' => 'Lifetimesms', 'message' => 'Lifetimesms Testing Laravel Package', 'unicode' => false, 'date' => null, 'time' => null];
$response = Lifetimesms::singleSMS($params);
```

Send Bulk SMS :

```
$params = ['to' => ['0334809000', '03008090100', '03448090100'], 'from' => 'Lifetimesms', 'message' => 'Lifetimesms Testing Laravel Package', 'unicode' => false, 'date' => null, 'time' => null];
$response = Lifetimesms::bulkSMS($params);
```

Send Personalized SMS :

```
$params = ['data' => [['to' => '03348090100', 'message' => 'Hello david! its from lifetimesms'], ['to' => '03008090100', 'message' => 'Hello peter! its from lifetimesms']], 'from' => 'Lifetimesms', 'date' => null, 'time' => null];
$response = Lifetimesms::personalizedSMS($params);
```

Send Voice SMS :

```
$params = ['to' => ['0334809000', '03008090100', '03448090100'], 'from' => 'Lifetimesms', 'voice_id' => '1', 'date' => null, 'time' => null];
$response = Lifetimesms::voiceSMS($params);
```

Check Delivery Status :

```
$params = ['message_id' => '44a82f4e3dd9bd7a091c1127'];
$response = Lifetimesms::deliveryStatus($params);
```

Send Voice Request (File Upload) :

```
$params = ['title' => 'Sample File For Voice SMS', 'file_path' => 'sample.wav'];
// 'file_path' must be the complete path of the audio file
// Valid extensions are mp3 and wav only
$response = Lifetimesms::createVoiceFromFile($params);
```

Send Voice Request (Text To Speech) :

```
$params = ['title' => 'Sample Text For Voice SMS', 'text' => 'Sample text of voice sms.'];
$response = Lifetimesms::createVoiceFromTextToSpeech($params);
```

Check Voice Status :

```
$params = ['voice_id' => '1472'];
$response = Lifetimesms::voiceStatus($params);
```

Balance Inquiry :

```
$response = Lifetimesms::balanceInquiry();
```

Network Lookup :

```
$params = ['phone_number' => '03008090100'];
$response = Lifetimesms::networkLookup($params);
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance60

Regular maintenance activity

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

2362d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fefefcf04a0cb7e67755d8eb2410b98318945b593dbbcf74b84e25f8b191b23?d=identicon)[lifetimesms](/maintainers/lifetimesms)

---

Top Contributors

[![myeishvar](https://avatars.githubusercontent.com/u/36119268?v=4)](https://github.com/myeishvar "myeishvar (11 commits)")[![lifetimesms](https://avatars.githubusercontent.com/u/57192950?v=4)](https://github.com/lifetimesms "lifetimesms (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

bulk-smslifetimesmssmssms-apisms-gatewaysms-messagesLifetimesms

### Embed Badge

![Health badge](/badges/lifetimesms-gateway/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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