PHP code example of hexonthebeach / laravel-cmtext-provider
1. Go to this page and download the library: Download hexonthebeach/laravel-cmtext-provider 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/ */
hexonthebeach / laravel-cmtext-provider example snippets
php artisan vendor:publish "hexonthebeach\LaravelCMTextProvider\CMTextProvider"
'providers' => [
... ,
hexonthebeach\LaravelCMTextProvider\CMTextProvider::class,
],
namespace App\Http\Controllers;
use CMText\TextClient;
class CMTextController extends Controller
{
public function index(TextClient $textClient)
{
$textClient->SendMessage( ... );
}
}