nodes-php / twilio by nodes

Twilio service made for Laravel
3,970
2
2
Package Data
Maintainer Username: nodes
Maintainer Contact: moru@nodes.dk (Morten Rugaard)
Package Create Date: 2015-11-12
Package Last Update: 2020-02-14
Home Page: http://nodesagency.com
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:16:59
Package Statistics
Total Downloads: 3,970
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Twilio

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

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