Math - Manipulate Math Formula

0.1.0 2023-09-25 12:08 UTC

This package is auto-updated.

Last update: 2024-06-27 06:58:29 UTC



Latest Stable Version Coverage Status Total Downloads License CI

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:


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.