.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH PHPAB "1" "February 2023" "phpab 1.27.2" "User Commands"
.SH NAME
phpab \- PHPAB command line interface
.SH SYNOPSIS
.B phpab
[\fI\,switches\/\fR] \fI\,<directory1|file1|/path/to/composer.json> \/\fR[...\fI\,<directoryN|fileN>\/\fR]
.SH DESCRIPTION
phpab %development% \- Copyright (C) 2009 \- 2023 by Arne Blankerts and Contributors
.TP
\fB\-i\fR, \fB\-\-include\fR
File pattern to include (default: *.php)
.TP
\fB\-e\fR, \fB\-\-exclude\fR
File pattern to exclude
.TP
\fB\-\-blacklist\fR
Blacklist classname or namespace (wildcards supported)
.TP
\fB\-\-whitelist\fR
Whitelist classname or namespace (wildcards supported)
.TP
\fB\-b\fR, \fB\-\-basedir\fR
Basedir for filepaths
.TP
\fB\-t\fR, \fB\-\-template\fR
Path to code template to use
.TP
\fB\-o\fR, \fB\-\-output\fR
Output file for generated code (default: STDOUT)
.TP
\fB\-p\fR, \fB\-\-phar\fR
Create a phar archive (requires \fB\-o\fR )
.TP
\fB\-\-all\fR
Include all files in given directory when creating a phar
.TP
\fB\-\-alias\fR
Specify explicit internal phar alias filename (default: output filename)
.TP
\fB\-\-hash\fR
Force given hash algorithm (SHA\-1, SHA\-256 or SHA\-512) (requires \fB\-p\fR, conflicts with \fB\-\-key\fR)
.TP
\fB\-\-bzip2\fR
Compress phar archive using bzip2 (requires \fB\-p\fR) (bzip2 required)
.TP
\fB\-\-gzip\fR
Compress phar archive using gzip (requires \fB\-p\fR) (gzip required)
.TP
\fB\-\-key\fR
OpenSSL key file to use for signing phar archive (requires \fB\-p\fR) (openssl required)
.TP
\fB\-c\fR, \fB\-\-compat\fR
Generate PHP 5.2 compatible code
.TP
\fB\-s\fR, \fB\-\-static\fR
Generate a static require file
.TP
\fB\-w\fR, \fB\-\-warm\fR
Generate a static opcache warming file
.TP
\fB\-\-reset\fR
Add opcache reset call when generating opcache warming file
.TP
\fB\-1\fR, \fB\-\-prepend\fR
Register as first autoloader (prepend to stack, default: append)
.TP
\fB\-d\fR, \fB\-\-no\-exception\fR
Do not throw exception on registration problem (default: throw exception)
.TP
\fB\-n\fR, \fB\-\-nolower\fR
Do not lowercase classnames for case insensitivity
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Quiet mode, do not output any processing errors or information
.TP
\fB\-\-cache\fR <file>
Enable caching and set filename to use for cache storage
.TP
\fB\-\-follow\fR
Enables following symbolic links (not compatible with phar mode)
.TP
\fB\-\-format\fR
Dateformat string for timestamp
.TP
\fB\-\-linebreak\fR
Linebreak style (CR, CRLF or LF, default: LF)
.TP
\fB\-\-indent\fR
String used for indenting or number of spaces (default: 16 (compat 12) spaces)
.TP
\fB\-\-tolerant\fR
Ignore Class Redeclarations in the same file
.TP
\fB\-\-once\fR
Use require_once instead of require when creating a static require file
.TP
\fB\-\-trusting\fR
Do not check mimetype of files prior to parsing (default)
.TP
\fB\-\-paranoid\fR
Do check mimetype of files prior to parsing
.TP
\fB\-\-var\fR name=foo
Assign value 'foo' to variable 'name' to be used in (custom) templates
.TP
\fB\-\-lint\fR
Run lint on generated code and exit
.TP
\fB\-\-lint\-php\fR
PHP binary to use for linting (default: \fI\,/usr/bin/php\/\fP or c:\ephp\ephp.exe)
.TP
\fB\-h\fR, \fB\-\-help\fR
Prints this usage information
.TP
\fB\-v\fR, \fB\-\-version\fR
Prints the version and exits