dmamontov/benchmark-tools

This package is abandoned and no longer maintained. No replacement package was suggested.

Server benchmark for all that is possible.

1.0.3 2015-05-07 10:07 UTC

This package is auto-updated.

Last update: 2022-01-18 01:33:22 UTC


README

Latest Stable Version License Total Downloads

Benchmark Tools

This package can show a report of PHP configuration information.

It provides several classes that retrieve information of configuration of resources that can be used by PHP on the server side.

The class can compose a report and display it on a Web page

Currently the classes provide information about:

  • Database support like MySQL configuration variables and speed of insertion and selection of records
  • File system support like disk space and access permissions, speed of creating files
  • Resources needed for high load applications like available memory, accessing shared memory, sending large email messages, upload large files
  • HTTP connection related resources like get the server IP address, HTTP comnnection protocol, HTTP authentication, session support
  • Server platform information like installed applications such as Wordpress, Drupal, etc., other programming languages
  • Servers ISP information like network, country, city, geographic coordinates
  • PHP server configuration like PHP version, cache extensions, available extensions

Demonstration

Example of use can be found in the file example.php.

Requirements

  • PHP version 5.3 or higher.

Installation

  1. Install composer

  2. Follow in the project folder:

composer require dmamontov/benchmark-tools ~1.0.3

In config composer.json your project will be added to the library dmamontov/benchmark-tools, who settled in the folder vendor/. In the absence of a config file or folder with vendors they will be created.

If before your project is not used composer, connect the startup file vendors. To do this, enter the code in the project:

require 'path/to/vendor/autoload.php';