PHPackages                             axelhub/twilio - 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. axelhub/twilio

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

axelhub/twilio
==============

Axel's sms send package

1.0(2y ago)065MITPHPPHP &gt;=8.0

Since Oct 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/axeldeploy/twilio)[ Packagist](https://packagist.org/packages/axelhub/twilio)[ RSS](/packages/axelhub-twilio/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (9)Used By (0)

Twilio
======

[](#twilio)

[![Latest Stable Version](https://camo.githubusercontent.com/e2381c56a303cadb95bd2fb283186ab61232bd695f6459f23a7b395d54501b84/687474703a2f2f706f7365722e707567782e6f72672f6178656c6875622f7477696c696f2f76)](https://packagist.org/packages/axelhub/twilio) [![Total Downloads](https://camo.githubusercontent.com/ba121652f56bfe6bf8308695995956b8a438493fbd0b3da12a55aa53e2afa153/687474703a2f2f706f7365722e707567782e6f72672f6178656c6875622f7477696c696f2f646f776e6c6f616473)](https://packagist.org/packages/axelhub/twilio) [![Latest Unstable Version](https://camo.githubusercontent.com/5340eb97c092d2d4a00f87c4cd205d7456b2ad08a663e24cfcf1ce93fed4135c/687474703a2f2f706f7365722e707567782e6f72672f6178656c6875622f7477696c696f2f762f756e737461626c65)](https://packagist.org/packages/axelhub/twilio) [![License](https://camo.githubusercontent.com/a19ae8dc0975151d1de300ecf8dfa5acea57d5bc739d8735a341c9bb51de1d56/687474703a2f2f706f7365722e707567782e6f72672f6178656c6875622f7477696c696f2f6c6963656e7365)](https://packagist.org/packages/axelhub/twilio) [![PHP Version Require](https://camo.githubusercontent.com/74d02de239df4cd42f450285a22ecf968e190556af65ef1c65e8d22878bcfa3c/687474703a2f2f706f7365722e707567782e6f72672f6178656c6875622f7477696c696f2f726571756972652f706870)](https://packagist.org/packages/axelhub/twilio)

### [Twilio sms sender](https://github.com/axeldeploy/twilio)

[](#twilio-sms-sender)

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

[](#installation)

```
composer require axelhub/twilio
```

After installing run command below. It will create `twilio.php` file in *config* folder.

```
php artisan twilio:install
```

Configure `twilio.php` file with Twilio key, secret, sid and from by adding variables below to your `.env` file:

```
TWILIO_APP_KEY=
TWILIO_APP_SECRET=
TWILIO_APP_SID=
TWILIO_APP_FROM=
```

Also, in the `twilio.php` file you can customize the list of countries where the app will be able to send messages. [List of countries.](https://www.twilio.com/guidelines/regulatory)

Using
-----

[](#using)

### Custom using

[](#custom-using)

```
$twilio = new Twilio();
$twilio->sendSms($PhoneNumber, $Message);
```

### Using with Laravel notification

[](#using-with-laravel-notification)

[More about laravel notifications.](https://laravel.com/docs/notifications)

Add `SmsChannel::class` class into via function in notification:

```
use Axel\Twilio\SmsChannel;

public function via($notifiable)
{
    return [SmsChannel::class];
}
```

Create `toSms()` function in notification class:

```
use Axel\Twilio\SmsMessage;

public function toSms($notifiable): SmsMessage
{
    return (new SmsMessage)
        ->to($PhoneNumber)
        ->message($Message);
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~97 days

Recently: every ~145 days

Total

7

Last Release

724d ago

Major Versions

0.0.5 → 1.02023-07-22

PHP version history (2 changes)0.0.1PHP &gt;=7.3

1.0PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![axeldeploy](https://avatars.githubusercontent.com/u/85475604?v=4)](https://github.com/axeldeploy "axeldeploy (2 commits)")

### Embed Badge

![Health badge](/badges/axelhub-twilio/health.svg)

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

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1316.3k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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