|
1 |
| -# Introduction and Usage |
2 |
| - |
3 |
| -zendframework/zenddiagnostics provides diagnostic tests for real-world PHP |
4 |
| -applications. |
5 |
| - |
6 |
| -It currently ships with the following diagnostic checks: |
7 |
| - |
8 |
| -- [ApcFragmentation](diagnostics.md#apcfragmentation) - check if APC memory fragmentation is below given threshold, |
9 |
| -- [ApcMemory](diagnostics.md#apcmemory) - check available APC memory, |
10 |
| -- [Callback](diagnostics.md#callback) - call a user-defined diagnostic function, |
11 |
| -- [ClassExists](diagnostics.md#classexists) - make sure class exists in current environment, |
12 |
| -- [CouchDBCheck](diagnostics.md#couchdbcheck) - check if connection is possible, |
13 |
| -- [CpuPerformance](diagnostics.md#cpuperformance) - check server CPU performance is above baseline, |
14 |
| -- [DirReadable](diagnostics.md#dirreadable) - make sure given path is readable, |
15 |
| -- [DirWritable](diagnostics.md#dirwritable) - make sure given path is writable, |
16 |
| -- [DiskFree](diagnostics.md#diskfree) - check there's enough free space on given path, |
17 |
| -- [DiskUsage](diagnostics.md#diskusage) - check if the disk usage is below warning/critical percent thresholds, |
18 |
| -- [DoctrineMigration](diagnostics.md#doctrinemigration) - make sure all migrations are applied. |
19 |
| -- [ExtensionLoaded](diagnostics.md#extensionloaded) - make sure extension is loaded, |
20 |
| -- [GuzzleHttpService](diagnostics.md#guzzlehttpservice) - check if given http host is responding using Guzzle, |
21 |
| -- [HttpService](diagnostics.md#httpservice) - check if given http host is responding, |
22 |
| -- [Memcache](diagnostics.md#memcache) - check if memcache extension is loaded and given server is reachable, |
23 |
| -- [Mongo](diagnostics.md#mongodb) - check if connection to MongoDb is possible, |
24 |
| -- [OpCacheMemory](diagnostics.md#opcachememory) - check if the OpCache memory usage is below warning/critical thresholds, |
25 |
| -- [PDOCheck](diagnostics.md#pdocheck) - check if connection is possible, |
26 |
| -- [PhpVersion](diagnostics.md#phpversion) - make sure that PHP version matches constraint, |
27 |
| -- [PhpFlag](diagnostics.md#phpflag) - make sure that given PHP flag (feature) is turned on or off. |
28 |
| -- [ProcessRunning](diagnostics.md#processrunning) - check if a process with given name or ID is currently running, |
29 |
| -- [RabbitMQ](diagnostics.md#rabbitmq) - Validate that a RabbitMQ service is running, |
30 |
| -- [Redis](diagnostics.md#redis) - Validate that a Redis service is running, |
31 |
| -- [SecurityAdvisory](diagnostics.md#securityadvisory) - check installed composer dependencies against SensioLabs SA database, |
32 |
| -- [StreamWrapperExists](diagnostics.md#streamwrapperexists) - make sure given stream wrapper is available. |
33 |
| - |
34 |
| -It also provides the following file validation checks: |
35 |
| - |
36 |
| -- [IniFile](file-validation.md#inifile) - check if given INI file is available and valid, |
37 |
| -- [JsonFile](file-validation.md#jsonfile) - check if given JSON file is available and valid, |
38 |
| -- [XmlFile](file-validation.md#xmlfile) - check if given XML file is available and valid, |
39 |
| -- [YamlFile](file-validation.md#yamlfile) - check if given YAML file is available and valid |
| 1 | +# Basic Usage |
40 | 2 |
|
41 | 3 | ## Performing diagnostics with Zend Framework 2
|
42 | 4 |
|
|
0 commit comments