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

Lint Pack Laravel Package

jakub-szajna/lint-pack

Laravel package that adds a linter command to the Artisan CLI, helping you run code style and lint checks from the command line during development and CI. Designed to integrate into typical Laravel workflows for quick, repeatable quality checks.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer Experience (DX) Improvements: Accelerate local development by catching Artisan CLI syntax errors early, reducing debugging time for junior or infrequent Laravel developers.
  • Onboarding Efficiency: Streamline new developer ramp-up by enforcing consistent CLI command usage and flagging deprecated or incorrect commands.
  • Quality Gates for CI/CD: Integrate into pre-commit hooks or CI pipelines to block broken Artisan commands before they reach production (if the package were actively maintained).
  • Build vs. Buy: Justify a lightweight, open-source solution over building a custom CLI linter for small-to-medium Laravel projects where Artisan usage is frequent but not mission-critical.
  • Legacy System Maintenance: Use as a stopgap for older Laravel projects (pre-2016) where CLI tooling is outdated, pending migration to modern alternatives (e.g., Laravel Forge, Envoyer).

When to Consider This Package

  • Adopt if:

    • Your team uses Laravel ≤5.2 (last release was 2015) and relies heavily on Artisan CLI for deployments, migrations, or custom tasks.
    • You lack budget/resources for a custom solution but need basic CLI linting (e.g., catching typos in commands like php artisan migrate:status vs. php artisan migrate-status).
    • You’re maintaining a monorepo with multiple Laravel projects and want to standardize CLI usage across them.
  • Look elsewhere if:

    • You use Laravel ≥5.3+: Modern Laravel includes built-in tools (e.g., php artisan list) or better alternatives like spatie/laravel-artisan for command management.
    • You need advanced linting (e.g., argument validation, environment-aware checks): Consider roave/security-advisories for broader PHP security or custom scripts.
    • The package is abandoned (last release 8+ years ago): Risk of compatibility issues with newer PHP/Laravel versions. Prioritize maintained packages like nunomaduro/larastan for static analysis.
    • Your CLI usage is simple: Manual checks or IDE autocompletion (e.g., PHPStorm) may suffice.

How to Pitch It (Stakeholders)

For Executives: "This package offers a low-cost, low-effort way to reduce Artisan CLI errors in our Laravel workflows, saving dev time on debugging. For our legacy projects (pre-2016), it’s a no-code solution to enforce CLI consistency—similar to how ESLint catches JS errors. The trade-off? It’s unmaintained, so we’d need to vet it for our stack, but the MIT license and simplicity make it a safe short-term fix while we plan longer-term DX improvements."

For Engineering: *"Pros:

  • Lightweight (~200 LOC), easy to drop into existing Laravel projects.
  • Catches obvious CLI typos (e.g., missing colons in commands) without extra tooling.
  • Could integrate into pre-commit hooks via composer require + custom script.

Cons:

  • No longer maintained: Test thoroughly with your Laravel/PHP version (e.g., php artisan --version).
  • Limited scope: Only lints Artisan syntax, not logic or security (e.g., SQL in migrations).
  • Alternatives exist: For newer Laravel, php artisan list --verbose or IDE plugins may replace this.

Recommendation: Use as a temporary band-aid for legacy projects or as a proof-of-concept for a custom linter. Pair with a deprecation plan to migrate to modern tools."*

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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours