Math is a library written in pure PHP that provides a set of classes to manipulate different formula file formats, i.e. MathML and Office MathML (OOML).
Math is an open source project licensed under the terms of MIT. Math is aimed to be a high quality software product by incorporating continuous integration and unit testing. You can learn more about Math by reading this Developers'Documentation and the API Documentation
If you have any questions, please ask on StackOverFlow
Read more about Math:
-
Insert elements:
-
Basic :
- Identifier : a
- Operator : +
- Numeric : 2
-
Simple :
- Fraction : a3
- Superscript : a3
-
Architectural :
- Row
- Semantics
-
-
Support
- MathML
- OfficeMathML
Math requires the following:
- PHP 7.1+
- XML Parser extension
- XMLWriter extension
Math is installed via Composer. To add a dependency to Math in your project, either
Run the following to use the latest stable version
composer require phpoffice/math
or if you want the latest unreleased version
composer require phpoffice/math:dev-master
We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.
- Fork us and request a pull to the master branch.
- Submit bug reports or feature requests to GitHub.
- Follow @PHPOffice on Twitter.