snippetbashTip
cake — The processor for the CakePHP framework. More information: <https://book.cakephp.org/5/en/console-co
Viewed 0 times
thecommandprocessorclicakecakephpfor
Problem
How to use the
cake command: The processor for the CakePHP framework. More information: <https://book.cakephp.org/5/en/console-commands.html#cakephp-provided-commands>.Solution
cake — The processor for the CakePHP framework. More information: <https://book.cakephp.org/5/en/console-commands.html#cakephp-provided-commands>.Display basic information about the current app and available commands:
cakeList available routes:
cake routesClear configuration caches:
cake cache clear_allBuild the metadata cache:
cake schema_cache build --connection {{connection}}Clear the metadata cache:
cake schema_cache clearClear a single cache table:
cake schema_cache clear {{table_name}}Start a development web server (defaults to port 8765):
cake serverStart a REPL (interactive shell):
cake consoleCode Snippets
Display basic information about the current app and available commands
cakeList available routes
cake routesClear configuration caches
cake cache clear_allBuild the metadata cache
cake schema_cache build --connection {{connection}}Clear the metadata cache
cake schema_cache clearContext
tldr-pages: common/cake
Revisions (0)
No revisions yet.