定制 tentapress/system-info 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tentapress/system-info

最新稳定版本:v0.8.7

Composer 安装命令:

composer require tentapress/system-info

包简介

README 文档

README

Diagnostics and plugin management for TentaPress.

Plugin Details

Field Value
ID tentapress/system-info
Version 0.8.7
Provider TentaPress\SystemInfo\SystemInfoServiceProvider

Features

  • Environment information (PHP, Laravel, app versions)
  • Database driver and status
  • Storage status
  • Cache status
  • Plugin list with enable/disable controls
  • Plugin catalog for discovering first-party plugins (tentapress/*) with card-grid visual browsing
  • Catalog icon metadata support from local/hosted catalog sources
  • Install queue progress feedback on catalog install actions
  • Delete actions for recent install attempts on /admin/plugins, including stale running entries
  • Queue-based plugin installs from admin (vendor/package, GitHub URL, or Packagist URL)
  • First-party plugin installs use an explicit pre-1.0 Composer constraint so Packagist resolution works on production installs
  • Queue-based plugin updates from admin (defaults to installed plugins; full composer update gated by TP_ALLOW_FULL_COMPOSER_UPDATE=true)
  • Install/update jobs auto-detect usable php and composer binaries; config overrides are optional
  • Serialized install jobs to avoid overlapping Composer runs
  • Runtime cache refresh for OPCache-backed hosts after plugin lifecycle changes

Dependencies

None.

Admin Menu

Label Route Capability Icon Position Parent
System Info tp.system-info view_system_info info 95 -
Plugin Catalogue tp.plugins.catalog view_system_info plug 10 System Info
Plugins tp.plugins.index manage_plugins plug 40 Settings

Configuration

// plugins/tentapress/system-info/config/system-info.php
'catalog' => [
    'local_path' => 'docs/catalog/first-party-plugins.json',
    'url' => 'https://github.com/tentaplane/tentapress/blob/main/docs/catalog/first-party-plugins.json',
    'timeout_seconds' => 5,
    'cache_ttl_seconds' => 900,
    'require_https' => true,
],

'plugin_lifecycle' => [
    'php_binary' => '',
    'composer_binary' => '',
],
  • system-info ships its own defaults, so new releases do not depend on changes to the root config/tentapress.php.
  • local_path points to the generated first-party catalog feed in this monorepo.
  • url defaults to the TentaPress repository source-of-truth feed and is resolved to raw GitHub content when fetching.
  • If hosted data is unavailable, the catalog falls back to local data (and cached hosted data when available).
  • Catalog plugin entries can include an optional icon field.
  • plugin_lifecycle overrides are optional and only needed when automatic binary detection is not sufficient.
  • Regenerate the local feed with php artisan tp:catalog generate.
  • Validate the committed feed with php artisan tp:catalog check.

Development

php artisan tp:plugins sync
php artisan tp:plugins enable tentapress/system-info

Testing

composer test
composer test:filter -- SystemInfoDiagnosticsAccessTest

统计信息

  • 总下载量: 111
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固