Migrate scrivo/highlight.php to TypeScript

D Converted · version 9.18.1

scrivo/highlight.php 9.18.1 is a PHP package released under the BSD-3-Clause license and requires PHP >=5.4. Pext migrates it to TypeScript; its PHPUnit suite has not been run against the TypeScript output yet. It has no tracked dependencies, and 1 tracked package depends on it.

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

ConvertsYes
Runs on Node.jsNot yet run
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

The original PHPUnit suite has not been run against the TypeScript output yet. This page will update once it has.

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
>=5.4
Extensions
json

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

No tracked dependencies.

Used by

Upstream

Version
9.18.1
License
BSD-3-Clause
Repository
https://github.com/scrivo/highlight.php
Keywords
code, syntax, highlight, highlight.js, highlight.php

Migrating a codebase that uses scrivo/highlight.php?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.