PHPackages                             rapidez/coding-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. rapidez/coding-standards

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

rapidez/coding-standards
========================

This package contains the coding standards configurations used for our packages and projects

1.0.2(2mo ago)01↓100%MITPHP

Since Mar 9Pushed 2mo agoCompare

[ Source](https://github.com/rapidez/coding-standards)[ Packagist](https://packagist.org/packages/rapidez/coding-standards)[ RSS](/packages/rapidez-coding-standards/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Laravel Coding Standard
=======================

[](#laravel-coding-standard)

This repository contains the coding standards configurations used for our packages and projects.

installation
------------

[](#installation)

Installation is not strictly necessary, you could simply copy the files you care about and update the paths. This way you will not get any updates in the future.

Run

```
composer require --dev "rapidez/coding-standards"
```

### Editorconfig

[](#editorconfig)

The editorconfig is made so your editors are in sync with each other, to prevent different editor from constantly causing changes and conflicts with each other or other tools.

```
\ln -sf vendor/rapidez/coding-standards/.editorconfig .editorconfig
```

PHPStan
-------

[](#phpstan)

First you should install [Larastan](https://github.com/larastan/larastan).

```
composer require --dev "larastan/larastan"
```

then copy the sample configuration file, this includes larastan with some basic setup from coding-standards, like the editor url button.

```
\cp vendor/rapidez/coding-standards/phpstan.sample.neon phpstan.neon
```

### Optional - Copy workflow

[](#optional---copy-workflow)

Once you've installed PHPStan you could copy the analyse workflow to automatically run it for PRs

```
\mkdir -p .github/workflows
\cp vendor/rapidez/coding-standards/.github/sample-workflows/analyse.yml .github/workflows/analyse.yml
```

Rector
------

[](#rector)

As a good companion to PHPStan we also have configuration for Rector which can in some cases fix PHPStan issues, and improve the results given by PHPStan

First you should install [rector-laravel](https://github.com/driftingly/rector-laravel)

```
composer require --dev "driftingly/rector-laravel"
```

then copy the sample configuration file, this includes Rector with some basic setup from coding-standards.

```
\cp vendor/rapidez/coding-standards/rector.sample.php rector.php
```

Rector is much more stable in it's changes than it ever was, rarely (if at all) making breaking changes. We still recommend running it manually instead of using workflows.

Prettier formatter
------------------

[](#prettier-formatter)

To get prettier working in blade and frontend you will need to install prettier

```
yarn add --dev prettier prettier-plugin-tailwindcss @shufo/prettier-plugin-blade
```

and add a .prettierrc

```
\ln -sf vendor/rapidez/coding-standards/.prettierrc .prettierrc
```

### Optional - Copy workflow

[](#optional---copy-workflow-1)

Once you've installed PHPStan you could copy the prettier workflow to automatically run it for PRs

```
\mkdir -p .github/workflows
\cp vendor/rapidez/coding-standards/.github/sample-workflows/prettier.yml .github/workflows/prettier.yml
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance88

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

3

Last Release

60d ago

### Community

Maintainers

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

---

Top Contributors

[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (3 commits)")

### Embed Badge

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

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

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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