PHP code example of arcphysx / laravel-pejer

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

    

arcphysx / laravel-pejer example snippets


'providers' => [
    ...
    Arcphysx\LaravelPejer\Providers\LaravelPejerServiceProvider::class
    ...
];

LaravelPejer::whatsapp()
            ->sendMessage('<your-phone-number>', '<your-mesage>')
            ->ok()

    LaravelPejer::whatsapp()
                ->validateAccountExist('<your-phone-number>')
                ->json()