1PHPCOMPATINFO(1) PHPCOMPATINFO(1)
2
3
4
6 phpcompatinfo - PHP library that parse any data source to find out the
7 minimum version and extensions required for it to run.
8
10 phpcompatinfo [options] command [arguments]
11
13 The phpcompatinfo(1) command parse any data source to find out
14 elements, such as classes, interfaces, functions, constants,
15 namespaces.
16
18 -h, --help
19 Display this help message.
20
21 -q, --quiet
22 Do not output any message.
23
24 -v|vv|v, --verbose
25 Increase the verbosity of messages: 1 for normal output, 2 for more
26 verbose output and 3 for debug.
27
28 -V, --version
29 Display this application version.
30
31 --ansi
32 Force ANSI output.
33
34 --no-ansi
35 Disable ANSI output.
36
37 --profile
38 Display timing and memory usage information.
39
40 --progress
41 Show progress bar.
42
43 --output
44 Write results to file.
45
46 --manifest
47 Show which versions of dependencies are bundled (PHAR version
48 only).
49
51 The phpcompatinfo(1) analyser:run command is used to analyse a data
52 source and display results.
53
54 Usage:
55
56 phpcompatinfo analyser:run source
57
58 Where:
59
60 source
61 Identify a data source
62
64 The phpcompatinfo(1) db:list command is used to list all references
65 supported.
66
67 Usage:
68
69 phpcompatinfo db:list [--all]
70
71 Where:
72
73 --all
74 List all references
75
77 The phpcompatinfo(1) db:show command is used to introspect a reference.
78
79 Usage:
80
81 phpcompatinfo db:show [--releases] [--ini] [--constants] [--functions] [--interfaces] [--classes] [--methods] [--class-constants] name
82
83 Where:
84
85 name
86 Introspection of a reference (case insensitive)
87
88 --releases
89 Show releases
90
91 --ini
92 Show ini Entries
93
94 --constants
95 Show constants
96
97 --functions
98 Show functions
99
100 --interfaces
101 Show interfaces
102
103 --classes
104 Show classes
105
106 --methods
107 Show methods
108
109 --class-constants
110 Show class constants
111
113 0
114 Success
115
116 1
117 Failure (syntax or usage error; unexpected error).
118
120 Report any issue at https://github.com/llaville/php-compat-info/issues
121
123 PHP_CompatInfo was originally written by Davey Shafik in 2004.
124
125 Remi Collet, contributor of many extensions reference and unit tests,
126 joined the project since version 2.0.0RC2
127
128 The Command-Line Interface (CLI) version was introduced in version 2.0
129 and is written by Laurent Laville.
130
132 Main web site: http://bartlett.laurent-laville.org/php-compatinfo/
133
135 Copyright (C) 2010-2021 Laurent Laville.
136
138 Free use of this software is granted under the terms of the BSD
139 3-clause license.
140
141
142
143 6.0.0 2021-03-14 PHPCOMPATINFO(1)