PHP code example of vvinners / movider

1. Go to this page and download the library: Download vvinners/movider 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/ */

    

vvinners / movider example snippets


MOVIDER_API_KEY=************************
MOVIDER_API_SECRET=********************************

use VVinners\Movider\Movider;

$moviderProvider = new Movider;
$response = $moviderProvider->sendMessage('Test', '60123456789', 'MOVIDER');
bash
php artisan vendor:publish --provider="VVinners\Movider\MoviderServiceProvider" --tag=config
php artisan vendor:publish --provider="VVinners\Movider\MoviderServiceProvider" --tag=migration
php artisan migrate --path=/database/migrations/2021_09_22_073143_create_movider_log_table.php