onexcrm/sysinfo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

onexcrm/sysinfo

Composer 安装命令:

composer require onexcrm/sysinfo

包简介

A complete system environment detail information guide for laravel projects

README 文档

README

A package for get complete system environment detail information

Installation

No dependency on PHP version and LARAVEL version

STEP 1: Run the composer command:

composer require onexcrm/sysinfo

STEP 2: Laravel without auto-discovery:

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Onex\Sysinfo\OnexSysinfoServiceProvider::class,

If you want to use the facade to log messages, add this to your facades in app.php:

'OnexSysinfo' => Onex\Sysinfo\Sysinfo\SysinfoClassFacade::class,

STEP 3: Publish the package config:

php artisan vendor:publish --provider="Onex\Sysinfo\OnexSysinfoServiceProvider" --force

How to use?:

DIRECT USE BY ROUTE

>> Just install and run the below route
Ex: http://your-website/onex/check-sysinfo

Ex: http://localhost:8000/onex/check-sysinfo

sys_info-1

sys-info-2

sysinfo-3

sysinfo-5

USE LIKE A HELPER IN CONTROLLER

>>> Just install and call below methods
>> Ex1: OnexSysinfo::getSystemInfo();
>> Ex2: OnexSysinfo::getAllPaths();
>> Ex3: OnexSysinfo::isStorageWritable();
>> Ex4: OnexSysinfo::isCacheWritable();
>> Ex5: OnexSysinfo::getAllEnvs();
>> Ex6: OnexSysinfo::getServerInfo();
>> Ex7: OnexSysinfo::howManyTablesInDB();
>> Ex8: OnexSysinfo::getAllTablesName();
>> Ex9: OnexSysinfo::getEnabledPhpExtensions();

You can modify the configuration settings in - "config/onex-sysinfo.php":

/** If you want to disable the route then make it false */
'is_route_enabled' => true,
/** If you want to change the route prefix */
'route_prefix' => 'onex',
/** If you want to change the route name or path */
'route_name' => 'check-sysinfo',
/** If you want to enable the securiry for access the system information
 *  Then make it ('is_enabled') true and also you can set login-id and password 
 */
'authentication' => [
    'is_enabled' => env('ONEX_SYSINFO_AUTH_ENABLED', false),
    'login_id' => env('ONEX_SYSINFO_ID', 'onexadmin'),
    'password' => env('ONEX_SYSINFO_PASSWORD', 'onexpassword')
]

license:

The MIT License (MIT). Please see License File for more information.

Post Issues: if found any

If have any issue please write me.

onexcrm/sysinfo 适用场景与选型建议

onexcrm/sysinfo 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 126 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 02 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 onexcrm/sysinfo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 onexcrm/sysinfo 我们能提供哪些服务?
定制开发 / 二次开发

基于 onexcrm/sysinfo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-26