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

ActiveLibrary

jdolba/silverstripe-coding-standards
====================================

Coding standards and more for your SilverStripe project

v0.1.1(6y ago)04.6k2MITPHP ^7.1

Since May 24Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

SilverStripe Coding Standards
=============================

[](#silverstripe-coding-standards)

Set of definition and coding standards rules for your SilverStripe project

Install
-------

[](#install)

Via Composer

```
composer require --dev jdolba/silverstripe-coding-standards ^0.1
```

Usage
-----

[](#usage)

### Example of usage with composer scripts:

[](#example-of-usage-with-composer-scripts)

- Add scripts to your composer.json file

```
    "scripts": {
        "silverstripe-standards": [
            "@php-lint",
            "@phpcs"
        ],
        "php-lint": "parallel-lint app/src app/tests",
        "phpcs": "phpcs app/src app/tests --standard=vendor/jdolba/silverstripe-coding-standards/definitions/php/phpcs-ss4.xml --extensions=php --encoding=utf-8",
        "phpcbf": "phpcbf app/src app/tests --standard=vendor/jdolba/silverstripe-coding-standards/definitions/php/phpcs-ss4.xml --extensions=php --encoding=utf-8",
        "phpcs-fix": "@phpcbf"
    },
```

- then run:

```
composer silverstripe-standards
```

- to fix your Standards violations you can run

```
composer phpcs-fix
# or
composer phpcbf
```

#### Custom rules

[](#custom-rules)

you can also customize rules by adding `phpcs.xml` file directly to you project root:

```
cp vendor/jdolba/silverstripe-coding-standards/skeletons/phpcs.xml phpcs.xml
```

don't forgot to change paths in composer scripts (`--standard=phpcs.xml`)

### .editorconfig

[](#editorconfig)

you can use prepared `.editorconfig` file (see )

```
cp vendor/jdolba/silverstripe-coding-standards/skeletons/.editorconfig .editorconfig
```

Credits
-------

[](#credits)

- [Jakub Dolba](https://github.com/JakubDolba)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

2

Last Release

2542d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2030cdefaeb3f8741cf7a85485564eddda4353489c26992c273c507b30b3a57e?d=identicon)[jdolba](/maintainers/jdolba)

---

Top Contributors

[![JakubDolba](https://avatars.githubusercontent.com/u/45079648?v=4)](https://github.com/JakubDolba "JakubDolba (12 commits)")

---

Tags

silverstripecoding-standardssilverstripe coding standards

### Embed Badge

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

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[joomla/coding-standards

Joomla Coding Standards

129231.7k16](/packages/joomla-coding-standards)[suin/phpcs-psr4-sniff

PHP\_CodeSniffer sniff that checks class name matches PSR-4 project structure.

271.7M16](/packages/suin-phpcs-psr4-sniff)[silverstripe/behat-extension

SilverStripe framework extension for Behat

32564.2k5](/packages/silverstripe-behat-extension)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k12](/packages/shopsys-coding-standards)[dereuromark/cakephp-codesniffer

A CakePHP to find and correct coding standard issues

1511.8k](/packages/dereuromark-cakephp-codesniffer)

PHPackages © 2026

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