Reference

Commands

Every Artisan command of the package and its options.
CommandRole
revision:checkchecks every discovered class; exits 1 on an error
revision:locklocks the published revisions
revision:exportthe JSON Schema of every class, kind and revision
revision:changelogthe changelog of the revisions, in Markdown
revision:prunethe declarations the oldest revision alone uses
revision:cachecompiles every shape to cache_path
revision:cleardeletes the compiled shapes

revision:check

--format
table|json
The output. Default table. See Check.
--list
flag
Prints the discovered classes only, without checking.

revision:lock

--revision
string
(Re)locks one revision, by its backed value, the head included. Without it, locks every revision but the head that has no lock yet. See Lock.

revision:export

--revision
string
Keeps one revision, by its backed value.
--class
string
Keeps one class. With one revision, one class and one kind left, prints a single schema.

revision:changelog

--from
string
The revision to start after (excluded).
--to
string
The last revision listed (included).

Newest revision first.

revision:prune

No option. Lists, with file and line, each until(), was() and since() naming the oldest revision. Always succeeds. See Retiring a revision.

revision:cache, revision:clear

No option. php artisan optimize runs revision:cache and optimize:clear runs revision:clear. See Performance and Octane.