Basic Commands
Windwalker Core ships a set of commands for common operations. This page lists them by area. Each area has its own page with the full options.
Common Commands
php windwalker list: show all commands.php windwalker run,exec: run scripts and PHP code, see Running Code.php windwalker g(generate:make),generate:revise: see Code Generator.php windwalker site:down,site:up,cache:clear,cache:purge: see Maintenance.
Server Dumper
server:dumper starts a server that receives dump() output from other processes. It needs symfony/var-dumper.
php windwalker server:dumper
php windwalker server:dumper tcp://127.0.0.1:9912 -f htmlThe host argument defaults to the app.dump_server.host config value, or tcp://127.0.0.1:9912 when that is not set. The default format is cli.
Shell Completion
auto-complete installs tab completion for zsh and bash.
php windwalker auto-complete
php windwalker auto-complete -s zsh -fThe command writes ~/.windwalker_completion_<shell> and adds a source line to your shell profile (~/.zshrc, or ~/.bashrc or ~/.bash_profile). Open a new terminal, or run the source line yourself, to activate it.
-s, --shell-type:zshorbash. Defaults to the name of$SHELL.-f, --force: overwrite an existing completion file.
INFO
Completion for command names is always available. Completion for argument and option values appears only for commands that implement CompletionHandlerInterface, such as cache:clear and cache:purge.
Mail Testing
mail:test sends a test message through the configured mail transport, which helps check the mail settings.
php windwalker mail:testLanguage Merging
lang:merge merges language files. See php windwalker lang:merge --help for its arguments.
php windwalker lang:mergeOther Commands
crypt:secret: generate the app secret. See App Secret.asset:version: create the asset version file. See Asset Management.build:entity: build entity classes. See Entities.build:enum: build enum classes. See Code Generator.mig:*: migrations. See Migrations.db:export: export the database. See Backup and Export.seed:*: seeders. See Seeders.schedule:*: scheduled tasks. See Scheduler.queue:*: queue workers and failed jobs. See Queue Guide, Failed Jobs, and Database Driver.task:run: run signed tasks. See Concurrency.mail:test: send a test mail. See Mailer.server:start,server:stop: local development server. See Server.
pkg:* (package installation) and lang:merge have no full page yet. Run php windwalker <command> --help for their options.
Run php windwalker <command> --help for the arguments of any command.