PHPackages                             codingfoundry/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. [API Development](/categories/api)
4. /
5. codingfoundry/twilio

ActiveLibrary[API Development](/categories/api)

codingfoundry/twilio
====================

A package to interact between Laravel and the various Twilio API's

09PHP

Since Nov 7Pushed 6y ago2 watchersCompare

[ Source](https://github.com/codingfoundry/twilio)[ Packagist](https://packagist.org/packages/codingfoundry/twilio)[ RSS](/packages/codingfoundry-twilio/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Twilio Wrapper for Laravel
==========================

[](#twilio-wrapper-for-laravel)

Wrapper for Twilio SDK.

Warning
-------

[](#warning)

This package is currently in development. Not suggested for production at this time.

Requirements
------------

[](#requirements)

- Twilio/SDK 5.37
- Laravel 5.7+

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

[](#installation)

### Composer Installation

[](#composer-installation)

Install the package through composer in your terminal.

```
composer require codingfoundry/twilio

```

### Setup The Environment (.env File) for Authentication

[](#setup-the-environment-env-file-for-authentication)

Add these details to your .env environment file with your own details as appropriate.

Each Environment Variable is REQUIRED for a successful connection.

```
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_PHONE_NUMBER=
```

Usage
-----

[](#usage)

### Carrier Lookup

[](#carrier-lookup)

Twilio::carrier\_lookup($number);

Requires E.164 Number format. ie. +13334445555

```
use CodingFoundry\Twilio\Twilio;

Twilio::carrier_lookup('+16045554444');
```

### Send SMS

[](#send-sms)

Twilio::send\_sms($number, $body);

Requires E.164 Number format. ie. +13334445555

```
use CodingFoundry\Twilio\Twilio;

Twilio::send_sms('+16045554444', 'This is my test sms text message!');
```

### Send Voice Call

[](#send-voice-call)

Twilio::send\_voice($number, $url);

Requires E.164 Number format. ie. +13334445555

```
use CodingFoundry\Twilio\Twilio;

Twilio::send_voice('+16045554444', 'https://handler.twilio.com/twiml/EH35432d6423462aa4a4912d00d4cbd2564');
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![taylormaguire](https://avatars.githubusercontent.com/u/18236969?v=4)](https://github.com/taylormaguire "taylormaguire (20 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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