# JakubOnderka/PHP-Console-Highlighter

Highlight PHP code in terminal

Repository: https://github.com/JakubOnderka/PHP-Console-Highlighter
Canonical: https://ross.abutalabs.com/products/php-console-highlighter
Language: PHP
License: MIT
License Family: permissive
Last push: 2020-04-02T19:47:23+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": 4666, "days_push": 2344, "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 6157, forks 17 (observed 2026-08-28T04:09:36.705713+00:00)

## What it is
A PHP library that highlights PHP source code with colors when printed to a terminal, built on top of PHP Console Color. This original repository is abandoned; the maintained fork lives at php-parallel-lint/PHP-Console-Highlighter.

## Use cases
- highlight PHP code snippets in CLI output
- colorize PHP error context in console tools
- print a whole PHP file with syntax colors in the terminal
- add readable PHP code display to a command-line debugger
- render PHP source in terminal-based reports

## When to choose
- you need simple terminal syntax highlighting for PHP code in a PHP CLI application
- you are already using the jakub-onderka package ecosystem and want matching behavior

## When to avoid
- you are starting a new project - use the maintained fork php-parallel-lint/PHP-Console-Highlighter instead
- you need highlighting for languages other than PHP
- you need HTML or rich-text output rather than ANSI terminal colors

## Facets
- artifact type: library
- maturity: abandoned
- function: cli, developer-tools
- domain: developer-tools
- platform: php, cli, cross-platform
- tags: syntax-highlighting, terminal-output, php-code, console-color, abandoned, command-line

## Member repositories
- JakubOnderka/PHP-Console-Highlighter (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:36.705713+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-29T17:47:29.513298+00:00, confidence not recorded.
  - readme: https://github.com/JakubOnderka/PHP-Console-Highlighter (fetched 2026-08-28T04:09:36.705713+00:00, sha 2ee7454193c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
