SkillAgentSearch skills...

Math

A pure PHP library for manipulating Math Formula

Install / Use

/learn @PHPOffice/Math
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Math

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:

Features

  • Insert elements:

    • Basic :

      • Identifier : <math display="inline"><mi>a</mi></math>
      • Operator : <math display="inline"><mo>+</mo></math>
      • Numeric : <math display="inline"><mn>2</mn></math>
    • Simple :

      • Fraction : <math display="inline"><mfrac><mi>a</mi><mn>3</mn></mfrac></math>
      • Superscript : <math display="inline"><msup><mi>a</mi><mn>3</mn></msup></math>
    • Architectural :

      • Row
      • Semantics
  • Support

    • MathML
    • OfficeMathML

Requirements

Math requires the following:

Installation

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

Contributing

We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.

View on GitHub
GitHub Stars31
CategoryDevelopment
Updated3mo ago
Forks4

Languages

PHP

Security Score

92/100

Audited on Dec 15, 2025

No findings