PHPackages                             zenapply/laravel-sms - 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. zenapply/laravel-sms

Abandoned → [leadthread/laravel-sms](/?search=leadthread%2Flaravel-sms)Library

zenapply/laravel-sms
====================

2.1.2(9y ago)61.2k4[3 issues](https://github.com/leadthread/laravel-sms/issues)MITPHPPHP ^5.5.9|^7.0

Since Apr 5Pushed 4y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (9)Versions (33)Used By (0)

laravel-sms
===========

[](#laravel-sms)

[![Latest Version](https://camo.githubusercontent.com/58f6106b1755d66061374c494d3154230ec474cfe3d6780247d943d7bbb51ec2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c6561647468726561642f6c61726176656c2d736d732e7376673f7374796c653d666c61742d737175617265)](https://github.com/leadthread/laravel-sms/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/3214d046a682eef18177218ce8f826408a045566928cf8a9c86067b152012199/68747470733a2f2f7472617669732d63692e6f72672f6c6561647468726561642f6c61726176656c2d736d732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/leadthread/laravel-sms)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/63f27edeba5643e72296061a68e096ea1ecaf3529ab0accad9c8858712c3c703/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6561647468726561642f6c61726176656c2d736d732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/leadthread/laravel-sms/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/e9a57eb0cf86f590e8b8a4619b620435755d38851a78ed8ede8e658cccf6b5b0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6561647468726561642f6c61726176656c2d736d732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/leadthread/laravel-sms/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/1c4ac926efb90f2924bb989040a5bf7eedb5476ed59563195a7d1ed8141ed7fb/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536663332353263333536333065303032396462303138372f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56f3252c35630e0029db0187)[![Total Downloads](https://camo.githubusercontent.com/88467f305f5c43aab5aad2f1429a445741bca737b44e8279919a4c116e300e50/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6561647468726561642f6c61726176656c2d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leadthread/laravel-sms)

Please read the [README for the latest stable branch v2.1.2](https://github.com/leadthread/laravel-sms/tree/2.1.2)

Laravel SMS is a simple Laravel 5 package for sending messages to different SMS services.

Currently supported:

- [Plivo](http://plivo.com/)
- [Twilio](http://twilio.com/)

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

[](#installation)

Install via [composer](https://getcomposer.org/) - In the terminal:

```
composer require leadthread/laravel-sms
```

Install Plivo or Twilio SDK

```
composer require plivo/plivo-php:^1.1
# or
composer require twilio/sdk:^4.10
# or
composer require bandwidth/catapult:^0.8.2
```

Now add the following to the `providers` array in your `config/app.php`

```
LeadThread\Sms\Providers\SmsServiceProvider::class
```

and this to the `aliases` array in `config/app.php`

```
"Sms" => "LeadThread\Sms\Facades\Sms",
```

Then you will need to run these commands in the terminal in order to copy the config file

```
php artisan vendor:publish
```

Usage
-----

[](#usage)

First you must change your config file located at `config/sms.php` with your proper API credentials.

### Sending Messages

[](#sending-messages)

You can simply send a message like this:

```
# Send one text
$message  = "Hello Phone!";
$to       = "+15556667777";
$from     = "+17776665555";
$response = Sms::send($message,$to,$from);
```

```
# Send many texts
$message  = "Hello Phone!";
$to       = ["+15556667777","+15556667778","+15556667779"];
$from     = "+17776665555";
$response = Sms::sendMany($message,$to,$from);
```

```
# Send many texts with different messages
$items = [
  ["msg"=>"Hello Rick!", "to"=>"+15556667777","from"=>"+17776665555"],
  ["msg"=>"Hello Tyler!","to"=>"+15556667778","from"=>"+17776665555"],
  ["msg"=>"Hello Karla!","to"=>"+15556667779","from"=>"+17776665555"],
];
$response = Sms::sendArray($items);
```

Dont forget to add this to the top of the file

```
//If you updated your aliases array in "config/app.php"
use Sms;
//or if you didnt...
use LeadThread\Sms\Facades\Sms;
```

### Buying and Selling phone numbers

[](#buying-and-selling-phone-numbers)

```
$areacode = '435';
//Search for a number to buy
//The response is different for each SMS service provider. This example shows Plivo.
$response = Sms::searchNumber($areacode);
$number = $response['response']['objects'][0]['number'];

//Buy the number
Sms::buyNumber($number);

//Unrent the number
Sms::sellNumber($number);
```

Contributing
------------

[](#contributing)

Contributions are always welcome! If you would like to have another service added to the list please request it by opening up an issue or sending a pull request

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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

Every ~21 days

Recently: every ~45 days

Total

24

Last Release

3191d ago

Major Versions

1.3.0 → 2.0.02016-05-13

2.1.2 → 3.0.0-beta2017-01-29

### Community

Maintainers

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

---

Top Contributors

[![tylercd100](https://avatars.githubusercontent.com/u/4522226?v=4)](https://github.com/tylercd100 "tylercd100 (68 commits)")

---

Tags

laravelsmstwilioplivotylercd100zenapply

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zenapply-laravel-sms/health.svg)

```
[![Health](https://phpackages.com/badges/zenapply-laravel-sms/health.svg)](https://phpackages.com/packages/zenapply-laravel-sms)
```

###  Alternatives

[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[simplesoftwareio/simple-sms

Simple-SMS is a package made for Laravel to send/receive (polling/pushing) text messages. Currently supports CalLFire, EZTexting, Email Gateways, FlowRoute, LabsMobile, Mozeo, Nexmo, Plivo, Twilio, and Zenvia

20845.7k5](/packages/simplesoftwareio-simple-sms)[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)

PHPackages © 2026

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