phlo/dashboard
Composer 安装命令:
composer create-project phlo/dashboard
包简介
Control center for a Phlo deployment: monitor your fleet, manage MySQL and SQLite databases from the browser, and handle notifications, subscriptions and WhatsApp from one place.
README 文档
README
Admin and monitoring dashboard for the Phlo stack. It bundles fleet monitoring, a notifications inbox, WhatsApp status, subscriptions and a built-in database manager for MySQL and SQLite.
The Dashboard is the operations layer of the Phlo platform: one place to oversee every app, server and domain built on the Phlo engine. Not to be confused with the Phlo Control Center, the per-app dev panel built into the engine itself.
Features
- Fleet overview: real time status of every host and app across the fleet (uptime, CPU, memory, disk, errors, visitors).
- Database admin (
dbadmin): browse and edit rows, a full structure editor with column reordering, indexes, foreign keys, privileges, an SQL console, import and export, foreign key navigation, database wide search and server status. Works with MySQL and SQLite. - Notifications: a server scoped inbox; apps push notifications via a secret protected endpoint.
- Subscriptions: users subscribe to (server, event) pairs and get proactive WhatsApp or dashboard delivery.
- WhatsApp: overview of all Phlo WhatsApp instances across the fleet.
- Visitors, domains, sites: visitor analytics and host/domain management.
- Multi user: roles plus per server and per module permissions.
Host discovery
The fleet overview discovers apps and hosts from your web server config. By default it reads Caddy site files (sites/*.caddy). Discovery is pluggable per node via creds.ini:
[discovery] sources = caddy, nginx nginx = /etc/nginx/sites-enabled/*
sources is a comma list of adapters (default caddy). The nginx adapter reads server_name from each server { ... } block (brace-depth aware, so nested location blocks are handled), folds www. into aliases, and flags redirect-only blocks (return 30x or a permanent rewrite). Results from all sources are merged and deduped by primary host. The monitoring layers on top (reachability, metrics, visitors) are web server agnostic; errors, version and rebuild stay Phlo specific.
To support another web server, add a <name>Apps() adapter returning the canonical app records and list its name in sources.
Requirements
- PHP 8.3 or newer with
ext-pdo,ext-pdo_mysql(the app stores its data in MySQL) andext-apcu(login rate limiting);ext-pdo_sqlitefor the SQLite side of the database admin - FrankenPHP
- phlo/tech and phlo/cms, pulled in via Composer
Install
composer create-project phlo/dashboard mydashboard
Then set up the node local config:
- Copy
www/app.php.exampletowww/app.phpand set your host and paths. It keepsbuild: true(development): the app compiles on demand andbuild::runis available. - Copy
data/app.example.jsontodata/app.json. - Create
data/creds.ini(MySQL connection, fleet peers, alert and notify endpoints) and, for HTTP basic login,data/auth.ini. - Build the app:
php www/app.php build::run - Serve with FrankenPHP.
For production, deploy the compiled output and a second entrypoint with build: false (the build:: tools are development-only and are absent under build: false).
License
MIT. See LICENSE.
phlo/dashboard 适用场景与选型建议
phlo/dashboard 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 06 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「database」 「mysql」 「sqlite」 「monitoring」 「dashboard」 「fleet」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 phlo/dashboard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phlo/dashboard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 phlo/dashboard 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Dibi is Database Abstraction Library for PHP
Store your language lines in the database, yaml or other sources
The tenancy/tenancy database driver for sqlite
A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.
Slimmed down concise interfaces and query builder for database queries and transactions which can be layered / decorated.
A PSR-7 compatible library for making CRUD API endpoints
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 49
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-11

