nodes/twilio

This package is abandoned and no longer maintained. No replacement package was suggested.

Twilio service made for Laravel

1.2.2 2020-02-13 21:46 UTC

README

Send text messages with Twilio from your application

Total downloads Monthly downloads Latest release Open issues License Star repository on GitHub Watch repository on GitHub Fork repository on GitHub

📝 Introduction

Integrates the Twilio service, which makes it unbelieable easy to send text messages from your application.

📦 Installation

To install this package you will need:

  • Laravel 5.1+
  • PHP 5.5.9+

You must then modify your composer.json file and run composer update to include the latest version of the package in your project.

"require": {
    "nodes/twilio": "^1.0"
}

Or you can run the composer require command from your terminal.

composer require nodes/twilio:^1.0

🔧 Setup

In Laravel 5.5 and above, service providers and aliases are automatically registered. If you're using Laravel 5.5 or above, skip ahead directly to Publish config files.

Setup service provider in config/app.php

Nodes\Services\Twilio\ServiceProvider::class

Publish config files

php artisan vendor:publish --provider="Nodes\Services\Twilio\ServiceProvider"

If you want to overwrite any existing config files use the --force parameter

php artisan vendor:publish --provider="Nodes\Services\Twilio\ServiceProvider" --force

⚙ Usage

Global method

twilio_sms($to, $body, $from = null)
twilio_look_up($phoneNumber, $type = 'all')

🏆 Credits

This package is developed and maintained by the PHP team at Nodes

Follow Nodes PHP on Twitter Tweet Nodes PHP

📄 License

This package is open-sourced software licensed under the MIT license