shepherdmat/phpinfo 问题修复 & 功能扩展

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

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

shepherdmat/phpinfo

最新稳定版本:v0.1.2

Composer 安装命令:

composer create-project shepherdmat/phpinfo

包简介

Phpinfo allows you to easily retrieve and process information from the phpinfo function.

README 文档

README

Phpinfo allows you to easily retrieve and process information from the phpinfo() function. It provides a structured and organized representation of the information, making it more accessible and convenient for developers.

Features

  • Retrieve and parse PHP configuration information.
  • Organize PHP phpinfo() output into structured sections.
  • Filter and format relevant data for easy consumption.

Installation

To use Phpinfo in your project, you can install it via Composer:

composer require shepherdmat/phpinfo

Usage

Here's an example of how to use Phpinfo to retrieve and structure PHP information:

<?php
require 'vendor/autoload.php';
use Shepherdmat\Phpinfo\Phpinfo;

// Retrieve and parse all PHP information
$info = Phpinfo::build();

var_dump($info);

// Access information by section
$generalInfo = Phpinfo::buildSection(Phpinfo::INFO_GENERAL);
var_dump($generalInfo);

License

This bundle is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-12