# jphp-group/jphp

JPHP - an implementation of PHP on Java VM

Repository: https://github.com/jphp-group/jphp
Canonical: https://ross.abutalabs.com/products/jphp
Homepage: http://jphp.develnext.org
Language: Java
License: Apache-2.0
License Family: permissive
Topics: php, php-language, jvm, bytecode, jit, compiler, zend-php, jphp, java, java-vm
Last push: 2021-12-25T13:33:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4702, "days_push": 1712, "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 1710, forks 166 (observed 2026-08-28T04:05:25.715643+00:00)

## What it is
JPHP is an implementation of the PHP language (7.1+) that compiles PHP source code to JVM bytecode and executes it on the Java VM. It enables using Java libraries from PHP, real multithreading, UTF-16 strings, and GUI development via JavaFX or SWT.

## Use cases
- run php code on the jvm
- use java libraries from php
- build desktop gui apps in php
- php with real multithreading
- compile php to jvm bytecode
- run php on android

## When to choose
- you want PHP syntax with access to the Java ecosystem
- you need true JVM-level threading and unicode strings in PHP
- you're building desktop or Android apps in PHP

## When to avoid
- you need Zend runtime extensions like Curl or PCRE - JPHP doesn't implement them
- you want a drop-in replacement for php.net or HHVM in web production
- you need active development - the latest release is from 2021

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: compiler, interpreter, programming-language
- domain: programming-languages, compilers, developer-tools
- platform: jvm, cross-platform
- tags: php, jvm-bytecode, jit, zend-php-alternative, javafx-gui, programming-language, android

## Member repositories
- jphp-group/jphp (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.715643+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-30T08:32:29.770396+00:00, confidence not recorded.
  - readme: https://github.com/jphp-group/jphp (fetched 2026-08-28T04:05:25.715643+00:00, sha 8b9f61af0557)
- Data as of 2026-08-30T08:39:29.467469+00:00.
