Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mago Laravel Package

carthage-software/mago

Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It brings Rust-inspired speed and reliability to PHP projects with a modern toolchain and great developer experience, plus multiple install options (script, Homebrew, Composer).

View on GitHub
Deep Wiki
Context7

title: Linter usage

Usage

The mago lint command is the entry point for running the linter.

Linting your project

To lint all the source files defined in your mago.toml configuration, simply run:

mago lint

Mago will scan your project in parallel and report any issues it finds.

Auto-fixing issues

Many lint rules provide automatic fixes. To apply them, use the --fix flag:

mago lint --fix

This will modify your files in place. To see what changes would be made without applying them, you can combine it with --dry-run:

mago lint --fix --dry-run

Running specific rules

If you want to run only a specific set of rules, use the --only flag. This is great for incrementally introducing new rules to a project.

# Run only these two rules
mago lint --only no-empty,use-compound-assignment

For more details on the available command-line options, see the Command Reference.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport