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.2CI failing

Since Nov 28Pushed 1w 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 today

READMEChangelogDependencies (1)Versions (4)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

38

—

LowBetter than 83% of packages

Maintenance64

Regular maintenance activity

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

2408d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57192950?v=4)[lifetimesms](/maintainers/lifetimesms)[@lifetimesms](https://github.com/lifetimesms)

---

Top Contributors

[![myeishvar](https://avatars.githubusercontent.com/u/36119268?v=4)](https://github.com/myeishvar "myeishvar (12 commits)")[![lifetimesms](https://avatars.githubusercontent.com/u/57192950?v=4)](https://github.com/lifetimesms "lifetimesms (5 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[guanguans/notify

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

687114.3k8](/packages/guanguans-notify)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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