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. graze/standards

ActiveLibrary

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

Graze coding standards

v2.0.5(5y ago)6373.5k—6.4%2[1 issues](https://github.com/graze/standards/issues)20MITPHP

Since Feb 16Pushed 4y 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 1mo ago

READMEChangelog (7)Dependencies (1)Versions (10)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

42

—

FairBetter than 90% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

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 ~274 days

Recently: every ~254 days

Total

7

Last Release

2099d ago

Major Versions

v1.0.0 → v2.0.02017-08-23

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/6ada9a1d50c7f35543667df79dba825e65114bf15feb606cccb2d1a40241134b?d=identicon)[john-n-smith](/maintainers/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)")[![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)")[![andbraith](https://avatars.githubusercontent.com/u/1893795?v=4)](https://github.com/andbraith "andbraith (1 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)")

---

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

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M424](/packages/symfony-event-dispatcher-contracts)[symfony/service-contracts

Generic abstractions related to writing services

2.6k860.1M360](/packages/symfony-service-contracts)[symfony/translation-contracts

Generic abstractions related to translation

2.6k698.7M432](/packages/symfony-translation-contracts)[symfony/cache-contracts

Generic abstractions related to caching

2.4k308.9M198](/packages/symfony-cache-contracts)[symfony/http-client-contracts

Generic abstractions related to HTTP clients

2.0k402.7M267](/packages/symfony-http-client-contracts)

PHPackages © 2026

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