Registry / build-tool / phabel-phabel

phabel-phabel

JSON →
library1.0.8phppackagistunverified

Write and deploy modern PHP 8 code, today, by transpiling to older PHP versions.

composer require phabel/phabel
INSTALL
IMPORT
SIG · PHABEL-PHABEL
P
phabel-phabel
build-toolphpv1.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Target
use Phabel\Target;

Transpile PHP 8 code to be compatible with PHP 7.4.

use Phabel\Target; $target = new Target('7.4'); $transpiler = new Phabel\Transpiler($target); $code = $transpiler->transpile(file_get_contents('input.php'));
Debug
Known issues
gotchaTranspilation may not cover all PHP 8 features; some syntax may fail.
fix
Test transpiled code thoroughly and check for unsupported features.
affects: >=1.0.0
Upgrade
Version history
1.0.8latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
phabel-phabel — pip install phabel-phabel · libregistry