PHP code example of avlima / laravel-sms-mmcenter
1. Go to this page and download the library: Download avlima/laravel-sms-mmcenter 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/ */
avlima / laravel-sms-mmcenter example snippets
php artisan vendor:publish --provider="Avlima\SmsMMCenter\Providers\SmsMMCenterServiceProvider"
public function routeNotificationForSmsMMCenter() {
return $this->phone; //Name of the field to be used as mobile
}