Weave 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

Php Coding Standards Laravel Package

genealabs/php-coding-standards

A ready-made set of PHP coding standards from GeneaLabs for Laravel and general PHP projects. Drop-in configuration helps enforce consistent style, simplify linting, and keep your codebase clean, uniform, and easy to maintain across teams.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Coding-standards and code-review policy: Use it as a reference input when defining PHP/Laravel conventions, not as the policy itself. A shared opinionated ruleset removes style debate from code review and makes onboarding predictable — but only if the team owns and maintains the rules.
  • CI quality-gate roadmap: Helps decide where the automated style check lives (pre-commit vs. CI vs. both) and which engine the team standardizes on — PHP_CodeSniffer, PHP-CS-Fixer, or Laravel Pint. Adopting this package implicitly adopts the underlying toolchain, so the decision must be made explicitly rather than by default.
  • Build vs. buy vs. borrow: The real decision is adopt, fork, or borrow the rules. With 16 stars, 0 dependents, and no release since 2021-11-18, the defensible PM position is to borrow the configuration thinking and internalize it, not take a hard dependency.
  • Legacy Laravel modernization: Supports a baseline style audit of older PHP/Laravel code before framework upgrades, surfacing style drift and dead conventions ahead of larger refactors.
  • Dependency and vendor-risk policy: A compact, low-stakes case study for deciding when an unmaintained open-source dev utility is safe to consume versus when to copy its configuration into an internally owned package. Useful precedent for future dependency calls.
  • Developer-experience investment: A codified standard cuts review friction and onboarding time — indirect business value (velocity, consistency), not revenue or differentiation. Frame it that way in prioritization.

When to Consider This Package

Consider it only when:

  • Your team already uses PHP_CodeSniffer and wants an opinionated, Laravel-leaning ruleset to evaluate as a starting point.
  • You need a reference for internal standards and are willing to copy or fork the rules rather than depend on the package directly.
  • There is a specific reason to align with the GeneaLabs / Mike Bronner ecosystem, or an existing project already follows these conventions.
  • You have verified compatibility with your current PHP and Laravel matrix — the 0.2.0 release targets Slevomat 7-era tooling and implies a PHP version ceiling — and you are prepared to own a fork if upstream stays inactive.

Look elsewhere when:

  • You need an actively maintained, broadly adopted standard. The 2021 release date, 16 stars, and 0 dependents are weak adoption and maintenance signals across every dimension that matters.
  • You want a first-party Laravel path — prefer Laravel Pint, or established options like PHP-CS-Fixer or PHP_CodeSniffer with PSR-12 / Slevomat / Symfony rules, depending on stack and preference.
  • Your organization requires vendor support, a predictable release cadence, or security-review evidence for dependencies.
  • You are choosing a long-term platform standard. Treat this as an input to that decision, never the standard itself.
  • It would be your first linting tool — adopting it drags the whole toolchain decision along with it.

How to Pitch It (Stakeholders)

To executives: This is a small, free, open-source coding-standards ruleset with negligible adoption and no release since November 2021. There is no license cost, but there is maintenance and PHP/Laravel compatibility risk, and no vendor to call if it breaks. Recommendation: do not adopt it as a required dependency. The value here is indirect — cleaner code review, faster onboarding, fewer style debates — not revenue or differentiation. Use it as a one-time reference if engineering wants to accelerate an internal standards discussion, and put the resulting standard under internal ownership.

To engineering: The valuable artifact is the ruleset and configuration thinking, not the package lifecycle. Mechanically this is a day-scale spike: inspect what the package actually ships (ruleset file, custom sniffs, require block, license terms), diff its rules against our current Pint/PHP_CodeSniffer baseline, run report-only against one low-risk repo, then enforce incrementally with a baseline so CI fails only on new violations. Keep it in require-dev at most, pin it, assign an owner, and keep it out of the production dependency graph. Reference the ruleset by relative path rather than registered name to avoid installed_paths surprises, and never let two linters own the same lines. Do not let it become the backdoor by which our linting toolchain gets selected, and do not let it become an unowned transitive dependency or the de facto standard by default.

Key questions to resolve before any commitment: Which engine and version does it target, and what PHP/Laravel versions does that imply today? What is our current baseline, and how much of this ruleset overlaps, duplicates, or conflicts? Who owns the ruleset internally if upstream stays inactive? Does the license permit internal forking and cross-repository redistribution? What is the exit criterion for the pilot — a fixed number of accepted rules, or a clean report-only run on a representative repository?

Recommendation in one line: Borrow the rules, not the dependency — standardize on an internally owned Pint/PHP_CodeSniffer configuration and treat genealabs/php-coding-standards as a one-time reference during the standards decision.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core