PHP code example of danialpanah / farapayamak

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

    

danialpanah / farapayamak example snippets


DanialPanah\Farapayamak\FarapayamakServiceProvider::class

'Farapayamak': DanialPanah\Farapayamak\Facades\Farapayamak::class
bash
php artisan vendor:publish --provider "DanialPanah\Farapayamak\FarapayamakServiceProvider"

$numbers = ['09121111111', '09132222222', '09153333333'];

$data = [
   'to' => $numbers,
   'text' => 'Multicast Test Message..'
];

$response = Farapayamak::send($data);