graze/standards
Graze Coding Standards: a cross-language style guide for the Graze tech team. Covers general formatting rules, Git conventions, and standards for PHP, HTML, JavaScript, Python, SQL, CSS/Less, Markdown, and Go, plus open source and environment guidance.
Avoid if:
phpcs). Requires minimal setup but may need tooling investment.Consider if:
Abstract").*"This package lets us standardize our codebase like a Fortune 500 tech company—without hiring a dedicated standards team. By adopting Graze’s coding guidelines (used internally by a high-growth PHP shop), we’ll:
phpcs into our CI pipeline. The ROI? Faster shipping, fewer bugs, and happier engineers."**"This is a turnkey solution for PHP/Laravel code quality. Here’s why it’s a no-brainer:
NegationNoSpacesSniff, abstract class validation) save us from writing custom linting rules.make docs-test) lets teams explore standards locally before adoption.phpcs config and enforce in CI. Example:
phpcs --standard=vendor/graze/standards path/to/code --report=json > gitHub-actions-artifact.json
*"Tired of arguing about:
$foo = ! $bar; is ‘correct’?AbstractUser should be UserAbstract?phpcs with the Graze standard, and it’ll flag violations.
Bonus: The docs are hosted and previewable locally—no more ‘I didn’t know about that rule’ surprises."*How can I help you explore Laravel packages today?