PHPackages                             bristol-su/portal-pipeline - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bristol-su/portal-pipeline

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bristol-su/portal-pipeline
==========================

Styles for the Bristol SU Portal

v1.0.0(5y ago)0371[1 issues](https://github.com/bristol-su/portal-pipeline/issues)1PHPPHP &gt;=7.2

Since Feb 9Pushed 5y agoCompare

[ Source](https://github.com/bristol-su/portal-pipeline)[ Packagist](https://packagist.org/packages/bristol-su/portal-pipeline)[ RSS](/packages/bristol-su-portal-pipeline/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (1)

Portal Code Style
=================

[](#portal-code-style)

> Bring your coding style in line with the Bristol SU Portal Guidelines

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

[](#installation)

Pull in this project

```
composer require bristol-su/portal-code-style
```

Create a .php\_cs.dist file in your project. You can find an example in [`./vendor/bristol-su/portal-code-style/examples/.php_cs.dist.example`](examples/.php_cs.dist.example)

Create a rector.php file in your project. You can find an example in [`./vendor/bristol-su/portal-code-style/examples/rector.php`](examples/rector.php)

Add the following to your composer scripts

```
    "scripts": {
        "test": "vendor/bin/phpunit --colors=always --process-isolation --verbose --configuration phpunit.xml",
        "code-style": [
            "vendor/bin/php-cs-fixer fix --config .php_cs --dry-run --verbose --using-cache=no",
            "vendor/bin/rector process --dry-run --output-format=console"
        ],
        "fix-code-style": "vendor/bin/php-cs-fixer fix --config .php_cs --verbose --using-cache=no"
    }

```

Github Actions
--------------

[](#github-actions)

You can now set up a github workflow using the actions we provide. See examples of all these at [`./vendor/bristol-su/portal-code-style/examples/workflow.php`](examples/workflow.yml)

Commands
--------

[](#commands)

You can also run the following commands locally

`composer run test`: Run the entire testsuite `composer run code-style`: Dry run all our coding checks to make sure your code will pass the pipeline `composer run fix-code-style`: Fix any minor formatting issues automatically

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

1919d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c469b6466204c9a4091dde7d1b4a1a37810daee22bf88d16a800dbdb23a205?d=identicon)[tt15951](/maintainers/tt15951)

---

Top Contributors

[![tobytwigger](https://avatars.githubusercontent.com/u/24829185?v=4)](https://github.com/tobytwigger "tobytwigger (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bristol-su-portal-pipeline/health.svg)

```
[![Health](https://phpackages.com/badges/bristol-su-portal-pipeline/health.svg)](https://phpackages.com/packages/bristol-su-portal-pipeline)
```

###  Alternatives

[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)

PHPackages © 2026

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