PHPackages                             sun-asterisk/coding-standard - 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. sun-asterisk/coding-standard

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

sun-asterisk/coding-standard
============================

Sun\* R&amp;D PHP coding standard

v0.2.5(3y ago)442.2k↓48.1%32MITPHPPHP &gt;=7.1

Since Feb 11Pushed 3y agoCompare

[ Source](https://github.com/sun-asterisk-research/php-coding-standard)[ Packagist](https://packagist.org/packages/sun-asterisk/coding-standard)[ RSS](/packages/sun-asterisk-coding-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (9)Used By (2)

Sun\* R&amp;D PHP coding standard
=================================

[](#sun-rd-php-coding-standard)

[![Latest Stable Version](https://camo.githubusercontent.com/12a48b0ead23d37c6ce059221e23e88e909c46c84631abe2d849d02114dcdd61/68747470733a2f2f706f7365722e707567782e6f72672f73756e2d617374657269736b2f636f64696e672d7374616e646172642f762f737461626c65)](https://packagist.org/packages/sun-asterisk/coding-standard)

Sun\* coding standard for [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).

Installation
------------

[](#installation)

Using composer

```
composer require --dev sun-asterisk/coding-standard
```

Usage
-----

[](#usage)

Add the `SunAsterisk` standard to your project's `phpcs.xml`:

```

```

Or use it on the command line

```
vendor/bin/phpcs --standard=SunAsterisk
```

### Laravel

[](#laravel)

The `SunAsteriskLaravel` standard is extended for Laravel projects. You can use it as below:

```

    app
    config
    database
    resources
    routes
    tests

    vendor/

```

Refer to the [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) documents for more detailed usage. Also refer to [slevomat/coding-standard](https://github.com/slevomat/coding-standard) for details on some sniffs.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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 ~127 days

Recently: every ~221 days

Total

8

Last Release

1397d ago

PHP version history (3 changes)v0.1.0PHP &gt;=7.2

v0.1.1PHP ^7.1

v0.2.5PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d02a398b3a64f7ce04edd952919f4c888b65bc2761c0f804d1188015e2fdcfed?d=identicon)[tungpro](/maintainers/tungpro)

![](https://www.gravatar.com/avatar/01095cc9776c6f3df56447cb6015fe03f71db5a373a2590811880231db105a35?d=identicon)[thphuong](/maintainers/thphuong)

---

Top Contributors

[![thphuong](https://avatars.githubusercontent.com/u/62600631?v=4)](https://github.com/thphuong "thphuong (31 commits)")[![kimyvgy](https://avatars.githubusercontent.com/u/13513658?v=4)](https://github.com/kimyvgy "kimyvgy (1 commits)")

### Embed Badge

![Health badge](/badges/sun-asterisk-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/sun-asterisk-coding-standard/health.svg)](https://phpackages.com/packages/sun-asterisk-coding-standard)
```

###  Alternatives

[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[orisai/coding-standard

Strict PHP coding standard

19193.5k62](/packages/orisai-coding-standard)

PHPackages © 2026

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