PHPackages                             jolicode/php7-checker - 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. jolicode/php7-checker

Abandoned → [sstalle/php7cc](/?search=sstalle%2Fphp7cc)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

jolicode/php7-checker
=====================

Detect parts of your code that should be updated to be PHP7 compatible

2035PHP

Since Aug 8Pushed 10y ago23 watchersCompare

[ Source](https://github.com/jolicode/php7-checker)[ Packagist](https://packagist.org/packages/jolicode/php7-checker)[ RSS](/packages/jolicode-php7-checker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

php7-checker
============

[](#php7-checker)

**This project is now deprecated in favor of [php7cc](https://github.com/sstalle/php7cc)**.

php7-checker is a PHP library that parses your code and statically detects some errors that could prevent it to run on PHP7.

*Disclamer*: this tool is a static analyzer. As it doesn't run your code it's far from being 100% reliable. If you need to ensure that some code will run on PHP 7, nothing will do a better job than a complete test suite run on the targeted version of PHP. If you want to test it locally (f.e. because your code is not open source), you can still have a look to [JoliCi](https://github.com/jolicode/JoliCi).

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

[](#installation)

#### Globally (Composer)

[](#globally-composer)

To install php7-checker, install Composer and issue the following command:

```
./composer.phar global require jolicode/php7-checker
```

Then, make sure you have `~/.composer/vendor/bin` in your `PATH`, and you're good to go:

```
export PATH="$PATH:$HOME/.composer/vendor/bin"
```

Usage
-----

[](#usage)

You can run the checker on a given file or directory:

```
php7-checker /path/to/dir
php7-checker /path/to/file
```

Further documentation
---------------------

[](#further-documentation)

Discover more by reading the docs:

- [Errors checked](doc/01-errors-checked.md)

You can see the current and past versions using one of the following:

- the `git tag` command
- the [releases page on Github](https://github.com/jolicode/php7-checker/releases)
- the file listing the [changes between versions](CHANGELOG.md)

And finally some meta documentation:

- [versioning and branching models](VERSIONING.md)
- [contribution instructions](CONTRIBUTING.md)

Credits
-------

[](#credits)

- [All contributors](https://github.com/jolicode/php7-checker/graphs/contributors)

License
-------

[](#license)

php7-checker is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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/c177e9f7e88fba40b24b047954fe1ff793d48c2bd8bb12bb2e412aa9ea633ede?d=identicon)[pyrech](/maintainers/pyrech)

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

---

Top Contributors

[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (33 commits)")

### Embed Badge

![Health badge](/badges/jolicode-php7-checker/health.svg)

```
[![Health](https://phpackages.com/badges/jolicode-php7-checker/health.svg)](https://phpackages.com/packages/jolicode-php7-checker)
```

###  Alternatives

[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

689126.8M194](/packages/react-stream)[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.2k412.9k11](/packages/aimeos-map)[mageplaza/module-core

Mageplaza Core for Magento 2

7910.7M53](/packages/mageplaza-module-core)

PHPackages © 2026

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