Miscellaneous
Panel Commands
XMPlus Backend Commands
Available Commands
| Command | Description |
|---|---|
xmplus:backup-database | Create a backup of the application database and send it via Telegram |
xmplus:check-version | Check for panel api and ui update |
xmplus:check-order | Check order status |
xmplus:check-server-status | Check server status and send notifications for status changes |
xmplus:create-admin-account | Create an admin account |
xmplus:currency-update-rates | Fetch and cache currency exchange rates from an external API |
xmplus:download-ip2location-database | Download, extract, and store the IP2Location DB5.LITE.BIN.IPV6 database |
xmplus:generate-webpush-keys | Generate and display private and public keys for WebPush notifications |
xmplus:install | Install XMPlus-Nuxt panel with Composer, Supervisor, Redis, Swoole, ionCube Loader, PHP functions |
xmplus:process-expired-subscriptions | Process expired subscriptions and handle auto-renewals |
xmplus:prune-models | Prune old records from multiple models using chunking for efficiency |
xmplus:reset-warn-subscriptions | Reset subscription traffic usage and send usage and expiration warnings |
xmplus:restart-supervisor | Restart Supervisor workers |
xmplus:set-telegram-webhook | Set Telegram webhook |
xmplus:delete-telegram-webhook | Delete Telegram webhook |
xmplus:telegram-webhook-info | Get Telegram webhook info |
Command Usage
To execute any command, use the following format:
docker compose exec api php artisan xmplus:<command-name>
Example:
docker compose exec api php artisan xmplus:backup-database
