Looking to hire Laravel developers? Try LaraJobs

laravel-fonnte maintained by nonuser

Description
Unofficial Laravel Fonnte Integration Package
Author
Last update
2025/11/24 03:41 (dev-main)
License
Links
Downloads
6

Comments
comments powered by Disqus

Fonnte for Laravel

Latest Version on Packagist Total Downloads

Unofficial Integrasi API Fonnte untuk Laravel.


Requirements

The following plugin is tested under following environment:

  • PHP v8.2.x or greater
  • Laravel 12

Instalasi

1. Install Package

composer require nonuser/laravel-fonnte

2. Konfigurasi

A. Publish Config

php artisan vendor:publish --provider="Fonnte\\Laravel\\FonnteServiceProvider" --tag="config"

B. Tambahkan Token Fonnte

FONNTE_TOKEN=

Cara Penggunaan

use Fonnte;

$response = Fonnte::sendMessage('081234567890', 'Halo dari Laravel!');

if ($response->successful()) {
    logger('Pesan berhasil dikirim.', ['res' => $response->json()]);
} else {
    logger()->error('Gagal mengirim pesan.', ['res' => $response->body()]);
}

🔐 Keamanan

Kalau ada laporan keamanan, kirimkan langsung ke: nonuser0002@gmail.com


👨‍💻 Author

nonUser00
📧 Email: nonuser0002@gmail.com
💻 GitHub: @nonUser00


📄 License

This package is licensed under the MIT License - see the LICENSE file for details.


⭐ If you find this package helpful, please consider giving it a star!

Made with ❤️ to make sending WhatsApp messages from Laravel