dmamontov / benchmark-tools
Server benchmark for all that is possible.
Installs: 96
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2022-01-18 01:33:22 UTC
README
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 recordsFile 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 coordinatesPHP server
configuration like PHP version, cache extensions, available extensions
Example of use can be found in the file example.php.
Requirements
- PHP version 5.3 or higher.
Installation
-
Install composer
-
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';