tianrosandhy / laravel-fonnte
Installs: 98
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tianrosandhy/laravel-fonnte
Requires
- php: >=7.2|>8.0
This package is auto-updated.
Last update: 2025-09-21 18:12:21 UTC
README
This package contain a simple http wrapper to send unofficial whatsapp message with fonnte.
Requirement
- Laravel 8 or more
- Active and registered Fonnte token (https://fonnte.com)
Installation
composer require tianrosandhy/laravel-fonnte
- Setup .env and fill
FONNTE_TOKEN=
with your fonnte token, andFALLBACK_FONNTE_RECIPIENT=
with your fallback whatsapp number - Test by calling
Fonnte::ping();
or,Fonnte::sendMessage($recipient, $message);
Examples
Send Simple Message
<?php
use Fonnte;
...
...
// $recipients support single string, comma separated string, or array of string
$recipients = ['08123456789', '081122334455'];
$message = "Hello world!";
$additional_param = []; // check https://docs.fonnte.com/api-send-message for complete additional options
Fonnte::sendMessage($recipients, $message, $additional_param);