Usage:
generate [-s|--source="..."] [-d|--destination="..."] [--access-levels="..."] [--base -url="..."] [--config="..."] [--google-cse-id="..."] [--google-analytics="..."] [- -debug] [--deprecated] [--download] [--extensions="..."] [--exclude="..."] [--groups="..."] [--charset ="..."] [--main="..."] [--internal] [--php] [--skip-doc-path="..."] [--no-source- code] [--template-theme="..."] [--template-config="..."] [--title="..."] [--todo] [--tree]
Options:
--source (-s) source code file directory (can set multiple values) (required)
--destination (-d) document generation directory (required)
--access-levels attributes and methods Access level (default: "public", "protected") (optional) (multiple values can be set)
--base-url document root path
--config custom apigen.neon configuration file
--google-cse -id Custom google search engine id (for search box).
--google-analytics Google statistics code
--debug Turn on Debug mode
--deprecated Generate deprecation information from the tag (@deprecated)
--download Add a download Link to ZIP archive
--extensions List of file extensions allowed to be parsed (default: "php") (multiple values can be set)
--exclude Matched directories and files will not be parsed (multiple values can be set )
--groups menu item grouping (default: "auto")
--charset character set of the source file (multiple values can be set)
--main The matched name prefix is generated as the "main project"
--internal Contains the tag @internal
--php generates PHP internal class documentation
--skip-doc-path Matched files will appear in the class tree, but will not be linked to these documents (multiple values can be set)
-- no-source-code does not highlight tags in source code
--template-theme template name (default: "default")
--template-config template settings
--title document title
--todo tag (@todo) Generate task documents
--tree Generate directory tree of classes, interfaces, features and exceptions
--help (-h) display help information
--quiet (-q) do not output any information
--version (-V) display Program version number
The above introduces the ApiGen 4.0 configuration items, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.