nonuser / laravel-fonnte
Unofficial Laravel Fonnte Integration Package
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/nonuser/laravel-fonnte
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.2
- illuminate/http: ^12.0
- illuminate/support: ^12.0
This package is not auto-updated.
Last update: 2026-01-06 01:24:30 UTC
README
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