PHPackages                             shyim/danger-php - 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. shyim/danger-php

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

shyim/danger-php
================

Port of danger to PHP

0.3.12(3mo ago)8557.9k↑16.9%8mitPHPPHP ^8.2CI passing

Since May 21Pushed 1w ago3 watchersCompare

[ Source](https://github.com/shyim/danger-php)[ Packagist](https://packagist.org/packages/shyim/danger-php)[ RSS](/packages/shyim-danger-php/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (36)Versions (37)Used By (0)

Danger PHP
==========

[](#danger-php)

Danger runs during your CI process, and gives teams the chance to automate common code review chores. This project ports [Danger](https://danger.systems/ruby/) to PHP.

Currently only GitHub and Gitlab are supported as Platform

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/7c124530b7c185c6928998842a1a52ed4bfd21071bf67db8f325f470cc3160a3/68747470733a2f2f696d672e736869656c64732e696f2f61706d2f6c2f61746f6d69632d64657369676e2d75692e7376673f)](https://github.com/shyim/danger-php/blob/main/LICENSE)[![codecov](https://camo.githubusercontent.com/1c74df212666a647d9950e792847bca4d08877b49ae7a38a8f83a1057ab8c32a/68747470733a2f2f636f6465636f762e696f2f67682f736879696d2f64616e6765722d7068702f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/shyim/danger-php)

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

[](#installation)

### Composer

[](#composer)

Install danger-php using Composer

```
composer global require shyim/danger-php
```

### Phar Archive

[](#phar-archive)

Every release has a phar archive attached

### Docker

[](#docker)

Use the [prebuilt Docker image](https://github.com/users/shyim/packages/container/package/danger-php)

Documentation
-------------

[](#documentation)

- [Getting started](./docs/getting_started.md)
- [Builtin Rules](./docs/builtin-rules.md)
- [Danger Context](./docs/context.md)
- [CI Integration](./docs/ci.md)
- [Commands](./docs/commands.md)

### Disallow multiple commits with same message

[](#disallow-multiple-commits-with-same-message)

```
