Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:ezpgenerateautoloads

Generate the class autoload arrays: kernel (-k), kernel overrides (-o), extensions (-e).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/ezpgenerateautoloads.md

On this page

exp:ezpgenerateautoloads

Generate the class autoload arrays: kernel (-k), kernel overrides (-o), extensions (-e).

Script bin/php/ezpgenerateautoloads.php, code in kernel/private/classes/commands/ezpgenerateautoloads.php. Run it from the installation root, as the user the web server runs as:

./console exp:ezpgenerateautoloads --help
php bin/php/ezpgenerateautoloads.php --help

Options

OptionValueHelp
--helpShow help information (short: -h)
--quietdo not give any output except when errors occur (short: -q)
--targetrequiredThe directory to where the generated autoload file should be written. (short: -t)
--verboseWhether or not to display more information. (short: -v)
--dry-runWhether a new file autoload file should be written. (short: -n)
--kernelIf an autoload array for the kernel files should be generated. (short: -k)
--kernel-overrideIf an autoload array for the kernel override files should be generated. (short: -o)
--extensionIf an autoload array for the extensions should be generated. (short: -e)
--testsIf an autoload array for the tests should be generated. (short: -s)
--excluderequiredFolders to exclude from the class search.
--progressIf progress output should be shown on the command-line. (short: -p)
--allow-root-userAccepted for compatibility with the other scripts; has no effect.

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/ezpgenerateautoloads.php, kernel/private/classes/commands/ezpgenerateautoloads.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x