1. Go to this page and download the library: Download susheelbhai/laratsapp 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/ */
susheelbhai / laratsapp example snippets
use Susheelbhai\WhatsApp\Support\MockInbox;
MockInbox::all(); // captured messages (newest first)
MockInbox::find($id); // one message
MockInbox::delete($id); // delete one
MockInbox::markRead($id); // mark read
MockInbox::clear(); // empty the inbox