How nekomaa110-gif/zeronet works
ZeroNet is a Laravel management panel, customer portal, and public website for MikroTik/FreeRADIUS-based WiFi businesses. Admins manage RADIUS subscribers and billing, generate and sell router-local hotspot vouchers, monitor routers, and operate WhatsApp messaging; customers check account status and invoices, request renewal, and submit payment evidence. Background commands and queued jobs support recurring synchronization and notifications. The README documents the main integrations and shared database; sampled source confirms selected controller, service, and authentication responsibilities. Other feature links are shown only where documented.
Main entry points: app.php Laravel application · Admin Admin panel · Commands Scheduled commands · SiteController.php Public website
Components 22
Web experiences
- Laravel application
bootstrap/app.php - Public website
app/Http/Controllers/Site/SiteController.php - Customer portal
app/Http/Controllers/Customer - Admin panel
app/Http/Controllers/Admin - Admin identity and 2FA
app/Http/Controllers/Auth/TwoFactorChallengeController.php
Subscriber operations
- Activity logging
app/Services/ActivityLogService.php - Invoices and renewals
app/Http/Controllers/Customer/DashboardController.php - RADIUS subscribers
app/Http/Controllers/Admin/RadiusUserController.php - Packages and coverage
app/Models/Package.php
Network and vouchers
- Voucher management
app/Http/Controllers/Admin/VoucherController.php - Voucher router operations
app/Services/VoucherRouterService.php - Router management
app/Services/RouterGateway.php - Network monitoring
app/Services/TrafficService.php
Background and integrations
- MariaDB and RADIUS tables
- MikroTik routers
- FreeRADIUS
- Scheduled commands
app/Console/Commands - Queue jobs
app/Jobs - WhatsApp service
app/Services/WhatsAppService.php - WhatsApp gateway
deploy/wa-gateway/server.js
Other components
- Visitors and users
Connections 25
- Visitors and users → Laravel application: use in browser
README.md - Laravel application → Public website: serves pages
README.md - Laravel application → Customer portal: serves portal
README.md - Laravel application → Admin panel: serves panel
README.md - Laravel application → Admin identity and 2FA: handles login
app/Http/Controllers/Auth/TwoFactorChallengeController.php - Admin identity and 2FA → Activity logging: records events
app/Http/Controllers/Auth/TwoFactorChallengeController.php - Customer portal → Invoices and renewals: requests renewal
app/Http/Controllers/Customer/DashboardController.php - Invoices and renewals → MariaDB and RADIUS tables: reads and writes
app/Http/Controllers/Customer/DashboardController.php - Public website → MariaDB and RADIUS tables: reads account data
app/Http/Controllers/Site/SiteController.php - Admin panel → RADIUS subscribers: manages accounts
README.md - RADIUS subscribers → MariaDB and RADIUS tables: writes RADIUS tables
README.md - Packages and coverage → MariaDB and RADIUS tables: stores package data
- Admin panel → Voucher management: manages vouchers
README.md - Voucher management → Voucher router operations: dispatches router actions
app/Http/Controllers/Admin/VoucherController.php - Voucher router operations → MikroTik routers: creates local users
README.md - Admin panel → Router management: manages routers
README.md - Router management → MikroTik routers: uses RouterOS API
README.md - Scheduled commands → Network monitoring: samples traffic
README.md - Scheduled commands → MariaDB and RADIUS tables: runs periodic work
README.md - Scheduled commands → MikroTik routers: polls routers
README.md - MikroTik routers → FreeRADIUS: authenticates users
README.md - FreeRADIUS → MariaDB and RADIUS tables: reads and writes
README.md - Queue jobs → WhatsApp service: sends messages
- WhatsApp service → WhatsApp gateway: calls gateway
README.md - WhatsApp gateway → WhatsApp: connects messaging
README.md