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

ActiveLibrary[API Development](/categories/api)

tafhyseni/twilio-simple
=======================

SMS and Phone Calls by Twilio made easy!

1.0.0(6y ago)259MITPHPPHP ^7.1CI failing

Since Dec 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tafhyseni/twilio-simple)[ Packagist](https://packagist.org/packages/tafhyseni/twilio-simple)[ Docs](https://github.com/tafhyseni/twilio-simple)[ RSS](/packages/tafhyseni-twilio-simple/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

SMS and Phone Calls by Twilio made easy
=======================================

[](#sms-and-phone-calls-by-twilio-made-easy)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d21fbd6cc2454f28c4df72b4d830cb4fc01bd5ac4631576d7b56890761f9fd4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746166687973656e692f7477696c696f2d73696d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tafhyseni/twilio-simple)[![Build Status](https://camo.githubusercontent.com/d6c4c41013f664cfb4dfaf5918498cb1df5009cb352abf2bb43675c4dd9b4705/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746166687973656e692f7477696c696f2d73696d706c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tafhyseni/twilio-simple)[![Quality Score](https://camo.githubusercontent.com/44cf3e85c41123c925fb9a33dc5e1c5093dfc07810619ae85ba371fd6921c779/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746166687973656e692f7477696c696f2d73696d706c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tafhyseni/twilio-simple)[![Total Downloads](https://camo.githubusercontent.com/7ca92de9739ad9d34dd8acf397fcb6c6463ad6972d0eaade319294e93791b945/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746166687973656e692f7477696c696f2d73696d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tafhyseni/twilio-simple)

This is a helper package to help you using Twilio. Sending SMS and making Phone Calls has never been easier!

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

[](#installation)

You can install the package via composer:

```
composer require tafhyseni/twilio-simple
```

Usage
-----

[](#usage)

Send a SMS to a specified phone number

```
use Tafhyseni\TwilioSimple\RequestTwilio;

$twilio = new RequestTwilio(
    'YOUR_twilio_SID',
    'YOUR_twilio_TOKEN',
    'YOUR_twilio_verified_number'
);

$twilio->setSMS('This is my SMS message body');
if(!$twilio->sendSMS('PHONE_NUMBER_HERE'))
{
    // An error happened.
    echo $twilio->getError(); // getError() will return the error message!
}else{
    // message sent/queued
    echo $twilio->countSMS(); // countSMS() will return the number of sms sent.
}
```

Make a call to a phone number and say something

```
use Tafhyseni\TwilioSimple\RequestTwilio;

$twilio = new RequestTwilio(
    'YOUR_twilio_SID',
    'YOUR_twilio_TOKEN',
    'YOUR_twilio_verified_number'
);

$twilio->setSMS('Hello, this call is made from Twilio Simple Package!');
if(!$twilio->makeCall('PHONE_NUMBER_HERE'))
{
    echo 'Error:' . $twilio->getError();
}else{
    echo 'Call Done!';
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mustafe Hyseni](https://github.com/tafhyseni)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2347d ago

### Community

Maintainers

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

---

Top Contributors

[![tafhyseni](https://avatars.githubusercontent.com/u/20110604?v=4)](https://github.com/tafhyseni "tafhyseni (14 commits)")

---

Tags

tafhysenitwilio-simple

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aloha/twilio

Twilio API for Laravel

4733.6M5](/packages/aloha-twilio)[signalwire-community/signalwire

Client library for connecting to SignalWire.

23126.2k](/packages/signalwire-community-signalwire)

PHPackages © 2026

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