CLI & console
mortise-cli
The Mortise command line tool: checks the boundary rules of a Laravel app in CI and sends what it read to Mortise Cloud.
From crates.io
Version 1.1.0
Updated Nov 27, 2026
3 downloads
Install
Run this in your project folder. cargo add mortise-cli
mortise-cli
The command line tool of Mortise, binary mortise. It reads a
Laravel app that uses nwidart/laravel-modules, without
PHP, and checks its boundary rules in CI.
mortise checkprints the problems of the app, each with its file and line, and exits 1 when a rule breaks.--format githubmarks each problem on its line in a pull request.mortise pushsends one read of the app to Mortise Cloud. The token comes fromMORTISE_TOKENonly.
The tool writes nothing in the app.
Install
cargo install --locked mortise-cli
Each GitHub release also has a binary for Linux
(x86_64 and arm64), macOS (Apple silicon) and Windows (x64), with SHA-256 sums. In GitHub Actions,
the action mortise-dev/setup-mortise installs it.
Use
mortise check /path/to/laravel-app --format github
MORTISE_TOKEN=... mortise push /path/to/laravel-app
The flags and exit codes are in the command line reference.
Licence
MIT.