Skip to the content
Documentation

exp:velocity

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The script bin/php/velocity.php.

Usage

./console exp:velocity [options]
php bin/php/velocity.php [options]

Options

Option Value Description
--json - Report as JSON, for a caller that is not a person
--keep-global required More globals to keep between requests (comma-separated), appended to the built-in defaults and velocity.ini KeepGlobals[]; for start, restart and command
--engine required php, frankenphp or qbix -- or several, comma-separated -- for this command only, instead of [ServerSettings] Engine
--from required install: take the binary from this file instead of downloading it (still verified)
--force - install: download again even if the binary is already there
--check - install: re-hash the installed binary against its SHA-256
--trust-github-digest - install: with no Sha256 pinned for the version, accept the digest GitHub publishes for the release
--all - start, stop, restart, graceful, kill or status every engine, one after the other
--https -  
--no-https -  
--rebuild-phar - start, restart, graceful, deploy: rebuild the engine archive even when it is current
--kernel - deploy: regenerate the kernel autoload array too (kernel/ and lib/ only)
--apply - config set|unset, cache clear, layout migrate, site|conf|mod, ssl renew, watchdog install|remove, install: make the change (without it they are a dry run that changes nothing)
--dry-run - the default of the commands that write (kept for scripts that pass it); deploy: print the steps and what each would do, and do nothing
--no-fpm - deploy: leave PHP-FPM alone (no reload, no wait)
--fpm-reload - deploy: reload PHP-FPM even when its OPcache revalidates the files (php.ini or pool changed, files renamed)
--no-velocity - deploy: do not restart Velocity
--no-autoload - deploy: do not regenerate autoload arrays
--packer - deploy: clear the packed scripts and styles too (ezjscore-packer, right before template-block)
--clear-content - deploy: clear the content, exphttpcache, template-block and response caches even when no template, design file, setting or translation changed
--all-caches - deploy: clear every cache, whatever changed since the last deploy
--caches required deploy: clear these caches too, whatever changed (ids or tags of ezcache, comma-separated: the list a migration run reports)
--migrate - deploy: run the pending migrations (exp:migration:migrate --apply) before PHP-FPM and Velocity run the new code, whatever [DeploySettings] Migrate says
--no-migrate - deploy: do not run the pending migrations, whatever [DeploySettings] Migrate says

Arguments

[command]

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/velocity.php, kernel/private/classes/commands/velocity.php

See also

Generated example: exp:velocity

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.