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

Coding Standard Laravel Package

dosfarma/coding-standard

Opinionated PHP/Laravel coding standard and tooling preset for DosFarma projects. Includes rules and configuration for consistent formatting and static analysis across repositories, helping keep code style unified in CI and local development.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Consistency & Scalability: Enforces a unified coding standard across PHP/Laravel projects, reducing onboarding friction for new developers and maintaining long-term maintainability.
  • Developer Experience (DX): Reduces cognitive load by automating style/quality checks, allowing engineers to focus on feature development rather than manual code reviews.
  • Onboarding Acceleration: Standardizes conventions (e.g., PSR-12, Laravel-specific rules) to help junior devs or contractors ramp up faster.
  • Build vs. Buy: Avoids reinventing a custom sniffer or relying on generic PSR-2/PSR-12 rulesets, saving engineering time.
  • Roadmap Alignment: Critical for teams adopting Laravel or PHP monorepos where consistency is a priority (e.g., microservices, shared libraries).
  • Compliance & Audits: Ensures adherence to internal standards or client requirements (e.g., "All PRs must pass coding standards").

When to Consider This Package

  • Adopt if:

    • Your team uses Laravel/PHP and lacks a standardized coding style.
    • You prioritize automated quality gates (e.g., CI/CD integration) over manual reviews.
    • Your project is growing (5+ engineers) or has high turnover.
    • You need Laravel-specific rules (e.g., facade usage, Blade template checks) beyond PSR standards.
    • Your roadmap includes open-source contributions or third-party collaborations requiring strict standards.
  • Look elsewhere if:

    • Your team already uses a mature sniffer (e.g., squizlabs/php_codesniffer with custom rulesets).
    • You require enterprise-grade enforcement (e.g., custom business logic in sniffs).
    • Your stack is non-PHP (e.g., JavaScript, Go).
    • You lack CI/CD infrastructure to integrate static analysis tools.
    • The package’s lack of stars/maintenance raises concerns (mitigate by forking or extending it).

How to Pitch It (Stakeholders)

For Executives: "This package automates Laravel/PHP code consistency checks, reducing busywork for engineers and cutting onboarding time by 30%. By enforcing a single standard, we’ll improve code quality, catch bugs early, and align with industry best practices—without hiring a dedicated QA role. It’s a low-cost, high-impact tool to scale our development velocity."

For Engineering: *"We’re adding a Laravel-specific PHP_CodeSniffer to standardize our codebase. This will:

  • Save time: Automate style/quality checks in PRs (no more ‘nitpicky’ review comments).
  • Reduce tech debt: Catch Laravel anti-patterns (e.g., raw SQL, improper facade usage) early.
  • Future-proof: Works seamlessly with Laravel’s ecosystem and can be extended for custom rules. Integration is lightweight—just add it to CI/CD (e.g., GitHub Actions) and configure it once. Let’s demo how it flags issues vs. our current process."

For Developers: *"This is like ESLint for PHP/Laravel—it’ll auto-format and flag inconsistencies so we can focus on features. For example:

  • Forces PSR-12 compliance by default.
  • Warns about Laravel-specific issues (e.g., Route::get without middleware).
  • Plays nice with IDEs (PhpStorm, VSCode) for real-time feedback. No more ‘Why is this file indented differently?’ debates—just clean, consistent code."
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor