PHP code example of ongair / whatsapp

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

    

ongair / whatsapp example snippets


    export db=<database_url>
    export timeout=60
    export env=production
    export url=http://0.0.0.0/

    export ACCOUNT=254733171036
    php vendor/ongair/whatsapp/ongair.php