PHPackages                             tuxboy/respector - 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. tuxboy/respector

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

tuxboy/respector
================

Respector is static analyzer gor respect your conception rules.

02[2 issues](https://github.com/TuxBoy/Respector/issues)PHP

Since Nov 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TuxBoy/Respector)[ Packagist](https://packagist.org/packages/tuxboy/respector)[ RSS](/packages/tuxboy-respector/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Respector
=========

[](#respector)

Respector is a static analyzer who check the respect your conceptions rules with a simple unit test

[![Build Status](https://camo.githubusercontent.com/6b2029a16cfd67cbf30f946dbc1f15f3b049f8e3b71499230d218550e5949d3a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f5048502d44492f5048502d44492f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/PHP-DI/PHP-DI)

Why?
----

[](#why)

A large number of tools exist to check the quality of your code (PhpStan, Psalm etc.). Sometimes we need to add our own conception rules. It is possible to customize the rules of these tools to add our own rules, but this implies that we must know the tools well and can be more complicated to evolve or maintain.

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

[](#installation)

Describe how to install the project/library/framework/…

Make sure your installation instructions work by testing them!

Usage
-----

[](#usage)

Describe how to use the project. A gif or a short code example is the best way to show how it works. Also keep paragraphs short and sentences simple: not everybody speaks english well.

For the sake of the example here is how you can use this project template as a basis for your own repository:

```
git clone https://github.com/mnapoli/project-template.git my-project
cd my-project
# Remove the git repository metadata
rm -rf .git/
# Start a brand new repository
git init
git add .
```

Easy peasy! Now you just have to code.

Make sure your examples work by testing them! I didn't test mine and I should feel ashamed.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3fc78794cb1abe661c6b7e265303a06298e880fa503a2dba6d3a95e5c153b61?d=identicon)[TuxBoyBzh](/maintainers/TuxBoyBzh)

---

Top Contributors

[![TuxBoy](https://avatars.githubusercontent.com/u/5089436?v=4)](https://github.com/TuxBoy "TuxBoy (11 commits)")

### Embed Badge

![Health badge](/badges/tuxboy-respector/health.svg)

```
[![Health](https://phpackages.com/badges/tuxboy-respector/health.svg)](https://phpackages.com/packages/tuxboy-respector)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M679](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)

PHPackages © 2026

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