cake

The command-line processor for the CakePHP framework. More information: <https://cakephp.org>.

Install

All systems
curl cmd.cat/cake.sh
Debian Debian
apt-get install cakephp-scripts
Ubuntu
apt-get install cakephp-scripts
Arch Arch Linux
pacman -S cakephp-scripts
image/svg+xml Kali Linux
apt-get install cakephp-scripts
Fedora
dnf install cakephp-scripts
Windows (WSL2)
sudo apt-get update sudo apt-get install cakephp-scripts
OS X
brew install cake
Raspbian
apt-get install cakephp-scripts

The command-line processor for the CakePHP framework. More information: <https://cakephp.org>.

  • Display basic information about the current app and available commands:
    cake
  • Display a list of available routes:
    cake routes
  • Clear configuration caches:
    cake cache clear_all
  • Build the metadata cache:
    cake schema_cache build --connection connection
  • Clear the metadata cache:
    cake schema_cache clear
  • Clear a single cache table:
    cake schema_cache clear table_name
  • Start a development web server (defaults to port 8765):
    cake server
  • Start a REPL (interactive shell):
    cake console

© tl;dr; authors and contributors