pinoox/pinx-inspector
Composer 安装命令:
composer require pinoox/pinx-inspector
包简介
Development-only Pinx Inspector dashboard for Pinoox single-app projects
README 文档
README
Development-only graphical inspector for Pinoox single-app projects.
Pinx Inspector gives developers a local dashboard for the current app: database connections, tables, rows, visual queries, migrations, routes, logs, config, environment values, views, language files, Pinker cache, and build/release workflows.
Install it in applications as a dev dependency:
composer require --dev pinoox/pinx-inspector
Then run:
pinx dev
Open the inspector at:
http://127.0.0.1:8000/~inspector
pinx-cli mounts this package during local development. It is not required in production and should stay in require-dev.
Database and DevDB
Inspector reads the active development connection instead of being limited to a single storage backend.
DB_CONNECTION=mysql,pgsql, orsqliteuses the configured PDO connection.DB_CONNECTION=autofollows the app fallback behavior.DB_CONNECTION=devdbis shown as DevDB in the UI.- DevDB uses SQLite when
pdo_sqliteis available and automatically falls back to zero-dependency JSON storage when it is not. - DevDB JSON raw SQL execution is enabled when
pinoox/devdbis installed, using the official DevDB SQL translator.
If a real connection is not reachable, the Connections page still opens and shows the connection error instead of hiding the rest of the Inspector.
Structure
resources/router.phpserves the local-only API and the Inspector HTML shell.resources/views/contains small PHP view partials. Twig is intentionally not required yet, sopinx devdoes not need extra runtime dependencies.resources/assets/inspector.jscontains the browser runtime for navigation, actions, copy buttons, and panels.resources/assets/inspector.cssis built locally and must not use a CDN.
Publishing
This package is intended to live in its own repository:
https://github.com/pinoox/pinx-inspector
Use a normal Packagist install in apps:
{
"require-dev": {
"pinoox/pinx-inspector": "^1.0"
}
}
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-03