PHPackages                             padosoft/static-review - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. padosoft/static-review

ActiveLibrary[Testing &amp; Quality](/categories/testing)

padosoft/static-review
======================

Custom Static Review classes

1.1.4(8y ago)0110[1 PRs](https://github.com/padosoft/static-review/pulls)1MITPHP

Since Feb 21Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/padosoft/static-review)[ Packagist](https://packagist.org/packages/padosoft/static-review)[ Docs](https://github.org/padosoft/static-review/)[ RSS](/packages/padosoft-static-review/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (11)Used By (1)

static-review
=============

[](#static-review)

Custom Static Review classes

[![Latest Version on Packagist](https://camo.githubusercontent.com/50d1b32c059edcddd427d7a8905b03b1afa9ee4a2e77f17b6e02217a89776ace/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061646f736f66742f7374617469632d7265766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/static-review)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/fb9e7aa112624db14b3ba9a3b7c5fae290e5bf3f44ac3cfe9b31db70e5d9e2bb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7061646f736f66742f7374617469632d7265766965772e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/padosoft/static-review)[![Total Downloads](https://camo.githubusercontent.com/d02117e850d890638bf2f199e6e1c43d3759d70fb71981a05ff464ef2458711b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061646f736f66742f7374617469632d7265766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/static-review)[![SensioLabsInsight](https://camo.githubusercontent.com/d6e6028cada5230a690be047cdc7e1bb33f44f0ccc371cb4ce231c1395183978/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61656466663464332d343961642d346239302d613461622d3532653961316661386466362f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/aedff4d3-49ad-4b90-a4ab-52e9a1fa8df6)

Table of Contents
=================

[](#table-of-contents)

- [Custom Static Review classes](#progetto-static-review)
- [Table of Contents](#table-of-contents)
- [Prerequisites](#prerequisites)
- [Change Log](#change-log)
- [Installation](#installation)
- [Example](#example)
- [Contributing](#contributing)
- [Security](#security)
- [Credits](#credits)
- [About Padosoft](#about-padosoft)
- [License](#license)

PREREQUISITES
=============

[](#prerequisites)

Prerequisites of package are "sjparkinson/static-review": "squizlabs/php\_codesniffer": "phpunit/phpunit" "scrutinizer/ocular" "phpmd/phpmd"

installed as required in composer

create a new Hooks directory and copy pre-commit.php into from src/config folder.

```
$ mkdir hooks
$ copy vendor/padosoft/static-review/src/config/pre-commit.php hooks/pre-commit.php
```

CHANGE LOG
==========

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

INSTALLATION
============

[](#installation)

You can install the package via composer:

```
$ composer require padosoft/static-review
```

Open hooks/pre-commit.php in your root folder (created in PREREQUISITES above section) and add custom review. For example if you want to add VarDumpReview and DdReview:

```
$review->addReview(new LineEndingsReview())
        //.....
        //.....
        //.....
        //.....
       ->addReview(new VarDumpReview());
       ->addReview(new DdReview());
```

In the end, create a pre-commit hook, by running the following command:

```
create in .git/hooks a file named pre-commit like this

****************************************************************
#!/bin/sh

php.exe "hooks/pre-commit.php"
****************************************************************

This for windows environment, for linux and mac you must use this
****************************************************************
#!/bin/sh

php "hooks/pre-commit.php"
****************************************************************
```

EXAMPLE
=======

[](#example)

Screenshot esempio
------------------

[](#screenshot-esempio)

Contributing
============

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
========

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
=======

[](#credits)

- [Padosoft](https://github.com/padosoft)
- [All Contributors](../../contributors)

About Padosoft
==============

[](#about-padosoft)

Padosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.

License
=======

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~66 days

Recently: every ~129 days

Total

9

Last Release

3247d ago

Major Versions

0.0.1 → 1.0.02016-02-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10467699?v=4)[Lorenzo](/maintainers/lopadova)[@lopadova](https://github.com/lopadova)

---

Top Contributors

[![alevento](https://avatars.githubusercontent.com/u/5909180?v=4)](https://github.com/alevento "alevento (10 commits)")[![lopadova](https://avatars.githubusercontent.com/u/10467699?v=4)](https://github.com/lopadova "lopadova (10 commits)")

---

Tags

gitgit-hookshookscode qualitygitcommitpre-commitstatic-review

### Embed Badge

![Health badge](/badges/padosoft-static-review/health.svg)

```
[![Health](https://phpackages.com/badges/padosoft-static-review/health.svg)](https://phpackages.com/packages/padosoft-static-review)
```

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

601170.6M2.3k](/packages/dealerdirect-phpcodesniffer-composer-installer)[captainhook/captainhook

PHP git hook manager

1.1k7.4M450](/packages/captainhook-captainhook)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13186.2k8](/packages/youwe-testing-suite)[moxio/captainhook-eslint

Captain Hook Plugin to validate files using ESLint

1150.2k](/packages/moxio-captainhook-eslint)

PHPackages © 2026

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