innoboxrr / twilio-sdk
Twilio package
1.1.2
2024-06-02 21:49 UTC
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
- twilio/sdk: ^7.4|^8.1
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0
- phpunit/phpunit: ^10.0|^11.0
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
composer require innoboxrr/twilio-sdk
Usage
SMS or WhatsApp message
$sid = 'AC28xxxxxxxxxxxxxxxxxxxxxxxxxx6ff'; $token = '82694xxxxxxxxxxxxxxxxxxxxxxxxd7df5'; $nombreTienda = "Sra. Nancy Guadalupe"; $fechaVisita = '3 de junio de 2023 a las 14:00'; $urlReseña = "https://innoboxrr.com/review?code=16815159"; $from = '120xxxxxxx9'; $to = '527xxxxxxx9'; $message = <<<EOL Su Código de confirmación es 1524568 EOL; $res = Sms::init(['sid' => $sid, 'token' => $token]) ->from($from) ->to($to) ->message($message) ->sendMessage(); $res = Whatsapp::init(['sid' => $sid, 'token' => $token]) ->from($from) ->to($to) ->message($message) ->sendMessage(); dd($res);
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dev@innobox.systmes instead of using the issue tracker.
Credits
License
The The Unlicense. Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.