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

ActiveLibrary

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 today

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 77% 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

3096d 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://www.gravatar.com/avatar/9bb0d3a488eeb7af026f1b614186e7643a92fba1dc0f103fb29acde1151e4522?d=identicon)[whotrades](/maintainers/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)
```

PHPackages © 2026

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