Skip to content

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

License

Notifications You must be signed in to change notification settings

shepherdmat/phpinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phpinfo

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages