{"id":18291012,"url":"https://github.com/phpoffice/math","last_synced_at":"2025-10-18T23:57:37.078Z","repository":{"id":195961323,"uuid":"694276664","full_name":"PHPOffice/Math","owner":"PHPOffice","description":"A pure PHP library for manipulating Math Formula","archived":false,"fork":false,"pushed_at":"2024-04-08T17:22:22.000Z","size":1147,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-26T02:21:25.835Z","etag":null,"topics":["mathml","oomml"],"latest_commit_sha":null,"homepage":"https://phpoffice.github.io/Math/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PHPOffice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-20T17:11:50.000Z","updated_at":"2024-06-27T07:58:09.223Z","dependencies_parsed_at":"2023-09-23T14:51:43.448Z","dependency_job_id":"8de4b6d1-662e-45bb-993e-afe0fdf637ab","html_url":"https://github.com/PHPOffice/Math","commit_stats":null,"previous_names":["phpoffice/math"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPOffice%2FMath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPOffice%2FMath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPOffice%2FMath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPOffice%2FMath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHPOffice","download_url":"https://codeload.github.com/PHPOffice/Math/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247324480,"owners_count":20920654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mathml","oomml"],"created_at":"2024-11-05T14:12:53.067Z","updated_at":"2025-10-18T23:57:32.056Z","avatar_url":"https://github.com/PHPOffice.png","language":"PHP","readme":"# Math\n\n[![Latest Stable Version](https://poser.pugx.org/phpoffice/math/v/stable.png)](https://packagist.org/packages/phpoffice/math)\n[![Coverage Status](https://coveralls.io/repos/github/PHPOffice/Math/badge.svg?branch=master)](https://coveralls.io/github/PHPOffice/Math?branch=master)\n[![Total Downloads](https://poser.pugx.org/phpoffice/math/downloads.png)](https://packagist.org/packages/phpoffice/math)\n[![License](https://poser.pugx.org/phpoffice/math/license.png)](https://packagist.org/packages/phpoffice/math)\n[![CI](https://github.com/PHPOffice/Math/actions/workflows/php.yml/badge.svg)](https://github.com/PHPOffice/Math/actions/workflows/php.yml)\n\nMath is a library written in pure PHP that provides a set of classes to manipulate different formula file formats, i.e. [MathML](https://en.wikipedia.org/wiki/MathML) and [Office MathML (OOML)](https://en.wikipedia.org/wiki/Office_Open_XML_file_formats#Office_MathML_(OMML)).\n\nMath is an open source project licensed under the terms of [MIT](https://github.com/PHPOffice/Math/blob/master/LICENCE). Math is aimed to be a high quality software product by incorporating [continuous integration and unit testing](https://github.com/PHPOffice/Math/actions/workflows/php.yml). You can learn more about Math by reading this Developers'Documentation and the [API Documentation](http://phpoffice.github.io/Math/docs/)\n\nIf you have any questions, please ask on [StackOverFlow](https://stackoverflow.com/questions/tagged/phpoffice-math)\n\nRead more about Math:\n\n- [Features](#features)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Contributing](#contributing)\n- [Developers' Documentation](https://phpoffice.github.io/Math/)\n\n## Features\n\n- Insert elements:\n\n    * Basic :\n\n        * Identifier : \u003cmath display=\"inline\"\u003e\u003cmi\u003ea\u003c/mi\u003e\u003c/math\u003e\n        * Operator : \u003cmath display=\"inline\"\u003e\u003cmo\u003e+\u003c/mo\u003e\u003c/math\u003e\n        * Numeric : \u003cmath display=\"inline\"\u003e\u003cmn\u003e2\u003c/mn\u003e\u003c/math\u003e\n\n    * Simple :\n    \n        * Fraction : \u003cmath display=\"inline\"\u003e\u003cmfrac\u003e\u003cmi\u003ea\u003c/mi\u003e\u003cmn\u003e3\u003c/mn\u003e\u003c/mfrac\u003e\u003c/math\u003e\n        * Superscript : \u003cmath display=\"inline\"\u003e\u003cmsup\u003e\u003cmi\u003ea\u003c/mi\u003e\u003cmn\u003e3\u003c/mn\u003e\u003c/msup\u003e\u003c/math\u003e\n\n    * Architectural :\n\n        * Row\n        * Semantics\n\n- Support\n\n    * MathML\n    * OfficeMathML\n## Requirements\n\nMath requires the following:\n\n- PHP 7.1+\n- [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)\n- [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php)\n\n## Installation\n\nMath is installed via [Composer](https://getcomposer.org/).\nTo [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links) to Math in your project, either\n\nRun the following to use the latest stable version\n```sh\ncomposer require phpoffice/math\n```\nor if you want the latest unreleased version\n```sh\ncomposer require phpoffice/math:dev-master\n```\n\n## Contributing\n\nWe welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute.\n\n- [Fork us](https://github.com/PHPOffice/Math/fork) and [request a pull](https://github.com/PHPOffice/Math/pulls) to the [master](https://github.com/PHPOffice/Math/tree/master) branch.\n- Submit [bug reports or feature requests](https://github.com/PHPOffice/Math/issues) to GitHub.\n- Follow [@PHPOffice](https://twitter.com/PHPOffice) on Twitter.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpoffice%2Fmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpoffice%2Fmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpoffice%2Fmath/lists"}