PHP code example of dasundev / laravel-textit
1. Go to this page and download the library: Download dasundev/laravel-textit 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/ */
dasundev / laravel-textit example snippets
Textit::sms('07XXXXXXXX', 'Your order has been delivered!'); // using facade
textit()->sms('07XXXXXXXX', 'Your order has been delivered!'); // using helper function
$balance = Textit::balance(); // using facade
$balance = textit()->balance(); // using helper function
bash
php artisan vendor:publish --provider="Dasundev\LaravelTextit\TextitServiceProvider" --tag="config"