gd-75/php-cs-fixer-enforce-double-quotes
A PHP CS Fixer rule from gd-75 that enforces double-quoted strings. Add it to your fixer config to automatically convert single quotes to double quotes, keeping string style consistent across your PHP or Laravel codebase and CI checks.
$ escaping fix) and unit-test coverage now in place, this leans toward buy/adopt rather than building bespoke string interpolation and escaping in-house. Custom escaping logic is a security footgun; a small, tested dependency is the lower-risk path.$ escaping fix implies prior versions had incorrect escaping behavior. That is a security-relevant correction, so any product surface that renders user-controlled strings should be validated against 1.1.0 before shipping.Consider it when:
Look elsewhere when:
Adoption criteria: treat 1.1.0 as the minimum version baseline, and require a review of the escaping fix and test coverage before exposing it to user-controlled content paths.
Executives: A small, unit-tested dependency that unblocks personalized and configurable content features. The latest release fixes an escaping defect that could have caused malformed or unsafe output, lowering security and support risk. Low integration cost, no new platform commitment.
Engineering: Version 1.1.0 adds advanced string support and corrects $ escaping, backed by unit tests — a meaningful improvement in correctness and confidence. It is a narrow dependency: adopt it for interpolation rather than extending Blade, and pin to 1.1.0+ so the escaping fix is guaranteed.
Product: Enables dynamic, tenant- and user-authored string content with predictable escaping behavior. Recommended next step is a short spike validating your real templates against 1.1.0, with the escaping fix treated as the reason to upgrade rather than an optional nicety.
How can I help you explore Laravel packages today?