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

Lib Php Cs Fixer Config Laravel Package

paysera/lib-php-cs-fixer-config

Shared PHP CS Fixer configuration from Paysera that enforces a consistent coding style across PHP projects. Install via Composer and extend the provided ruleset to standardize formatting and keep your codebase clean.

Deep Wiki
Context7

Product Decisions This Supports

  • Engineering standards: build vs. buy vs. fork. The package is not a feature — it is a codified answer to "what does good PHP look like here?" Adopting it lets you skip the multi-sprint debate over rule selection and treat a curated ruleset as a starting point.
  • Tooling consolidation. Decides whether the team standardizes on raw PHP-CS-Fixer, Laravel Pint (which wraps the same engine), or a vendor preset. This package is evidence for the "preset" pattern rather than a long-term dependency.
  • Developer experience roadmap. A shared style config directly reduces PR review noise, speeds onboarding, and shortens the path from clone to first merged commit — measurable in review-comment volume and time-to-first-PR.
  • CI and delivery cost. Enforce in CI and pre-commit rather than in review; decide whether style violations block merges or run as a non-blocking report.
  • Dependency and vendor-risk policy. With ~10 stars and single-vendor ownership, this is a test case for your rule on low-adoption dependencies: reference material, fork, or pin.
  • Auditability and compliance. A deterministic, versioned ruleset makes "the code was formatted to a defined standard" a checkable artifact for security or ISO-style reviews.
  • Roadmap framing. Do not put this on a customer-facing roadmap; place it in the platform/DX track as an enabler with a one-time cost and recurring near-zero cost.

When to Consider This Package

Consider it when:

  • The codebase is PHP 8.x and already uses PHP-CS-Fixer, or the team is willing to add it.
  • You have no written style standard, or the existing one is folklore spread across reviewers' heads.
  • You want an opinionated, ready-made ruleset in an afternoon rather than authoring one.
  • A small team without a dedicated platform engineer needs consistency more than bespoke rules.
  • You accept owning it: pin the version, fork if needed, and expect to maintain the fork.

Look elsewhere when:

  • The project is Laravel-first and unopinionated — use Laravel Pint, which ships the same engine with framework-aware defaults and active maintenance.
  • You need PSR-12 only; PHP-CS-Fixer's built-in @PSR12 set covers it without a third-party dependency.
  • You require an actively maintained, community-backed dependency with broad adoption — this package does not meet that bar.
  • Paysera's conventions conflict with your existing style or house rules, in which case the preset costs more to override than to write.
  • Your monorepo also contains JS/TS/Python and you want a single formatting story; a PHP-only preset fragments that.

How to Pitch It (Stakeholders)

To executives: This is a small, low-cost engineering hygiene item, not a product bet. It gives us a ready-made definition of "clean PHP" that we can adopt or fork in about a day, cutting review friction and onboarding time. The caveat is maturity: minimal adoption and single-vendor ownership mean we should treat it as a template we own, not a dependency we rely on. Recommendation: evaluate as a reference ruleset, budget one engineer-day, and decide within a sprint.

To engineering: Treat paysera/lib-php-cs-fixer-config as a curated rule catalog. Fastest path: read its rule set, port the parts we agree with into a pint.json or a local .php-cs-fixer.dist.php, wire it into CI and a pre-commit hook, and pin it. Avoid installing it directly unless we are genuinely standardizing on Paysera conventions — forking costs little and removes the maintenance and abandonment risk. Success looks like: zero style comments in code review within one month, and formatting enforced automatically on every PR.

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.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums