PHPackages                             whotrades/phpcs-stash - 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. whotrades/phpcs-stash

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

whotrades/phpcs-stash
=====================

Integration between phpcs and atlassian stash

1.0.2(8y ago)16706PHPPHP &gt;=5.4

Since Jan 29Pushed 8y ago2 watchersCompare

[ Source](https://github.com/WhoTrades/phpcs-stash)[ Packagist](https://packagist.org/packages/whotrades/phpcs-stash)[ RSS](/packages/whotrades-phpcs-stash/feed)WikiDiscussions master Synced 2w ago

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

DEPRECATED. Use [bitbucket-codestyle](https://github.com/WhoTrades/bitbucket-codestyle) instead
===============================================================================================

[](#deprecated-use-bitbucket-codestyle-instead)

phpcs-stash
===========

[](#phpcs-stash)

Скрипт, для интеграции phpcs и atlassian stash. Скрипт проверяет pull request на соответствию кодстайлу, и комментирует рецензию найденными ошибками Больше можно прочесть на

Схема работы phpcs-stash
------------------------

[](#схема-работы-phpcs-stash)

[![Схема работы phpcs-stash](https://raw.githubusercontent.com/WhoTrades/phpcs-stash/master/doc/images/architecture.png)](https://raw.githubusercontent.com/WhoTrades/phpcs-stash/master/doc/images/architecture.png)

Результат работы phpcs-stash
----------------------------

[](#результат-работы-phpcs-stash)

Результатом работы приложение явлются комментарии в atlassian stash о найденных ошибках в стилях кода [![скриншот примера результата работы](https://raw.githubusercontent.com/WhoTrades/phpcs-stash/master/doc/images/result.png)](https://raw.githubusercontent.com/WhoTrades/phpcs-stash/master/doc/images/result.png)

Установка и настройка
---------------------

[](#установка-и-настройка)

1. Клонировать репозиторий
2. Запустить composer install
3. Переименовать configuration.ini-dist в configuration.ini
4. Указать в configuration.ini ссылку и логин-пароль от вашей копии atlassian stash, указать стандарт проверки

Запуск
------

[](#запуск)

Запускать приложение можно двумя путями:

1. С помощью консоли: запускаем команду `php app.php   ` (например, для репозитория  slug будет равно WT, а repo - sparta
2. С помощью HTTP запроса: `index.php?slug=&branch=&repo=`

Интеграция с pull request
-------------------------

[](#интеграция-с-pull-request)

Добавить webhook в atlassian stash с указанием ссылки на index.php из phpcs-stash с аргументами index.php?branch=${refChange.refId}&amp;repo=${project.key}&amp;slug=${repository.slug}

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~30 days

Recently: every ~56 days

Total

21

Last Release

3189d ago

Major Versions

0.0.18 → 1.0.02017-04-13

PHP version history (2 changes)0.0.1PHP ~5.4

0.0.13PHP &gt;=5.4

### Community

Maintainers

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

---

Top Contributors

[![ents](https://avatars.githubusercontent.com/u/1654873?v=4)](https://github.com/ents "ents (5 commits)")[![esisoev](https://avatars.githubusercontent.com/u/22912366?v=4)](https://github.com/esisoev "esisoev (3 commits)")

### Embed Badge

![Health badge](/badges/whotrades-phpcs-stash/health.svg)

```
[![Health](https://phpackages.com/badges/whotrades-phpcs-stash/health.svg)](https://phpackages.com/packages/whotrades-phpcs-stash)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343128.8M102](/packages/google-cloud-core)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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