PHP code example of the_alex_mark / laravel-sms
1. Go to this page and download the library: Download the_alex_mark/laravel-sms library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
the_alex_mark / laravel-sms example snippets
SMS::to('+7 (800) 00-00-01', '+7 (800) 000-00-02')
->from('ORG_NAME')
->send('Hello World!');
bash
php artisan vendor:publish --provider="ProgLib\Sms\Providers\SmsServiceProvider"