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) reference:list command is used to list all
65 references supported.
66
67 Usage:
68
69 phpcompatinfo reference:list
70
72 The phpcompatinfo(1) reference:show command is used to introspect a
73 reference.
74
75 Usage:
76
77 phpcompatinfo reference:show [--filter[="..."]] [--releases] [--ini] [--constants] [--functions] [--interfaces] [--classes] name
78
79 Where:
80
81 name
82 Introspection of a reference (case insensitive)
83
84 --filter
85 Resource that provide a closure to filter results (default: false)
86
87 --releases
88 Show releases
89
90 --ini
91 Show ini Entries
92
93 --constants
94 Show constants
95
96 --functions
97 Show functions
98
99 --interfaces
100 Show interfaces
101
102 --classes
103 Show classes
104
106 0
107 Success
108
109 1
110 Failure (syntax or usage error; unexpected error).
111
113 Report any issue at https://github.com/llaville/php-compat-info/issues
114
116 PHP_CompatInfo was originally written by Davey Shafik in 2004.
117
118 Remi Collet, contributor of many extensions reference and unit tests,
119 joined the project since version 2.0.0RC2
120
121 The Command-Line Interface (CLI) version was introduced in version 2.0
122 and is written by Laurent Laville.
123
125 Main web site: http://bartlett.laurent-laville.org/php-compatinfo/
126
128 Copyright (C) 2010-2021 Laurent Laville.
129
131 Free use of this software is granted under the terms of the BSD
132 3-clause license.
133
134
135
136 4.2.0 2015-05-19 PHPCOMPATINFO(1)