# sstalle/php7cc

PHP 7 Compatibility Checker

Repository: https://github.com/sstalle/php7cc
Canonical: https://ross.abutalabs.com/products/php7cc
Language: PHP
License: MIT
License Family: permissive
Last push: 2018-03-20T19:30:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4057, "days_push": 3088, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1510, forks 121 (observed 2026-08-28T04:04:55.843770+00:00)

## What it is
php7cc is a command-line tool that scans PHP 5.3-5.6 codebases for statements that may break on PHP 7, producing reports with file names, line numbers, and problem descriptions. It detects errors that will definitely fail on PHP 7 and warnings about behavior changes, but does not automatically fix code.

## Use cases
- check if my php 5 codebase is compatible with php 7
- find code that breaks when upgrading from php 5.6 to php 7
- scan legacy php project for php 7 migration issues
- detect deprecated php constructs before upgrading php version
- generate report of php 7 incompatible statements in my code
- audit old php application before php 7 migration

## When to choose
- migrating a legacy PHP 5.3-5.6 codebase to PHP 7 and need a targeted compatibility report
- you want a lightweight phar or composer-installed CLI tool for one-off migration audits

## When to avoid
- starting a new project or needing ongoing static analysis - the project is no longer supported
- migrating to PHP 8+ - use phan or phpstan instead
- you need automated code fixing rather than detection and reporting

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: linter, static-site-generator, developer-tools
- domain: developer-tools, programming-languages
- platform: cli, php, cross-platform
- tags: php7-migration, compatibility-checker, static-analysis, code-migration, php5-to-php7, command-line

## Member repositories
- sstalle/php7cc (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.843770+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:27.778085+00:00, confidence not recorded.
  - readme: https://github.com/sstalle/php7cc (fetched 2026-08-28T04:04:55.843770+00:00, sha 5b8f9c48a453)
- Data as of 2026-08-30T08:39:29.467469+00:00.
