resist / asciimath2mathml
This package is abandoned and no longer maintained.
No replacement package was suggested.
ASCIIMath to MathML Converter for PHP
dev-master
2021-02-20 18:16 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2021-07-20 19:06:53 UTC
README
ASCIIMath to MathML Converter for PHP
This repository is a fork of Zefling/ASCIIMathPHP
For original credits see: https://github.com/Zefling/ASCIIMathPHP/blob/master/ASCIIMathPHP-2.1.class.php
Usage
private function makeMathMLRaw($string): string { $asciiMathPhp = new \ASCIIMath2MathML\ASCIIMathPHP(); $asciiMathPhp->setExpr($string); $asciiMathPhp->genMathML(); return $asciiMathPhp->getMathML(); }
Installation
Via composer:
{ "require": { "resist/asciimath2mathml": "dev-master" } }