PHPackages                             graze/standards - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. graze/standards

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

graze/standards
===============

Graze coding standards

v3.0.0(1mo ago)6382.4k—8.8%2[1 issues](https://github.com/graze/standards/issues)20MITPHPPHP &gt;=7.2CI passing

Since Feb 16Pushed 1mo ago12 watchersCompare

[ Source](https://github.com/graze/standards)[ Packagist](https://packagist.org/packages/graze/standards)[ Docs](https://github.com/graze/standards)[ RSS](/packages/graze-standards/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (20)

Graze Coding Standards
======================

[](#graze-coding-standards)

This [documentation](https://graze.github.io/standards) is also available in mkdocs.

This document describes the coding standards of Graze across its common languages to be adhered to and enforced by the Graze tech team, any violation of standards must be justified by the developer and exceptions are allowed for cases where it is unavoidable, such as in the case of third-party integrations.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](http://www.ietf.org/rfc/rfc2119.txt).

General
-------

[](#general)

1. Indent size MUST be 4 space characters and MUST NOT be the tab character.
2. All files MUST end with a blank new line (the new line character).
3. All files MUST use the Unix LF (linefeed) line ending.
4. There MUST NOT be trailing whitespace.

Git
---

[](#git)

1. Repo names SHOULD be all lowercase with hyphens (-) to separate words where appropriate.
2. Internal-only libraries SHOULD be prefixed with "graze-".
3. It is RECOMMENDED to follow the style guide mantained in [agis-/git-style-guide](https://github.com/agis-/git-style-guide).

Languages
---------

[](#languages)

1. [PHP](docs/languages/PHP.md)
2. [HTML](docs/languages/HTML.md)
3. [Javascript](docs/languages/Javascript.md)
4. [Python](docs/languages/Python.md)
5. [SQL](docs/languages/SQL.md)
6. [CSS/Less](docs/languages/CSS.md)
7. [Markdown](docs/languages/Markdown.md)
8. [Golang](docs/languages/Golang.md)

Open Source
-----------

[](#open-source)

1. [Project](docs/open-source/OpenSource.md)
2. [PHP](docs/languages/PHP.md#open-source)

Environment
-----------

[](#environment)

1. [AWS](docs/infrastructure/AWS.md)
2. [Docker](docs/infrastructure/Docker.md)

Visual
------

[](#visual)

1. [Images](docs/visual/Images.md)

Development
-----------

[](#development)

You can test mkdocs by calling:

make docs-test

This will start a development server in docker on port `8000`.

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~536 days

Recently: every ~610 days

Total

8

Last Release

36d ago

Major Versions

v1.0.0 → v2.0.02017-08-23

v2.0.5 → v3.0.02026-05-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/637788?v=4)[graze.com](/maintainers/graze)[@graze](https://github.com/graze)

![](https://avatars.githubusercontent.com/u/1314694?v=4)[John Smith](/maintainers/john-n-smith)[@john-n-smith](https://github.com/john-n-smith)

---

Top Contributors

[![wpillar](https://avatars.githubusercontent.com/u/188514?v=4)](https://github.com/wpillar "wpillar (39 commits)")[![biggianteye](https://avatars.githubusercontent.com/u/1482649?v=4)](https://github.com/biggianteye "biggianteye (18 commits)")[![john-n-smith](https://avatars.githubusercontent.com/u/1314694?v=4)](https://github.com/john-n-smith "john-n-smith (12 commits)")[![rick-lam](https://avatars.githubusercontent.com/u/114425681?v=4)](https://github.com/rick-lam "rick-lam (5 commits)")[![nadsella](https://avatars.githubusercontent.com/u/34297763?v=4)](https://github.com/nadsella "nadsella (2 commits)")[![sjparkinson](https://avatars.githubusercontent.com/u/51677?v=4)](https://github.com/sjparkinson "sjparkinson (2 commits)")[![sldsmkd](https://avatars.githubusercontent.com/u/2742326?v=4)](https://github.com/sldsmkd "sldsmkd (2 commits)")[![adlawson](https://avatars.githubusercontent.com/u/200351?v=4)](https://github.com/adlawson "adlawson (1 commits)")[![schettle](https://avatars.githubusercontent.com/u/340546?v=4)](https://github.com/schettle "schettle (1 commits)")[![andbraith](https://avatars.githubusercontent.com/u/1893795?v=4)](https://github.com/andbraith "andbraith (1 commits)")

---

Tags

standardsstandardscodinggraze

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/graze-standards/health.svg)

```
[![Health](https://phpackages.com/badges/graze-standards/health.svg)](https://phpackages.com/packages/graze-standards)
```

###  Alternatives

[symfony/translation-contracts

Generic abstractions related to translation

2.6k747.7M666](/packages/symfony-translation-contracts)[symfony/cache-contracts

Generic abstractions related to caching

2.4k332.6M315](/packages/symfony-cache-contracts)[symfony/http-client-contracts

Generic abstractions related to HTTP clients

2.0k428.1M428](/packages/symfony-http-client-contracts)[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k65.9M138](/packages/symfony-contracts)[phpcompatibility/php-compatibility

A set of sniffs for PHP\_CodeSniffer that checks for PHP cross-version compatibility.

2.3k81.1M1.6k](/packages/phpcompatibility-php-compatibility)[automattic/vipwpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

25811.4M200](/packages/automattic-vipwpcs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
