System Overview
Application layers
- Laravel handles authentication, admin configuration, plans, billing, files, contacts, campaigns, reports, and the user interface.
- The Node WhatsApp server handles QR login, session state, profile data, group data, and message sending.
- Cron jobs keep scheduled campaigns, subscriptions, automation, and maintenance tasks running.
Typical production setup
- Run Laravel on HTTPS with PHP 8.2 or newer, MySQL/MariaDB, and writable storage folders.
- Run the WhatsApp server as a separate Node process, preferably managed by PM2 or a hosting process manager.
- Use a reverse proxy or firewall rules so only trusted application endpoints can reach the WhatsApp server where possible.