Arithmetic Parser
#################

|Packagist| |GitLab| |GitHub| |Codeberg| |Gitea|

A PHP library that can parse and interpret arithmetic expressions.
It's aimed to be configurable and safe to process end user's input.

Installation
============

.. code-block:: bash

   composer require 'arokettu/arithmetic-parser'

Documentation
=============

.. toctree::
   :maxdepth: 2

   expressions
   config
   calculator
   parser
   validator
   advanced
   upgrade

License
=======

The library is available as open source under the terms of the `MIT License`_.

.. _MIT License:        https://opensource.org/licenses/MIT

.. |Packagist|  image:: https://img.shields.io/packagist/v/arokettu/arithmetic-parser.svg?style=flat-square
   :target:     https://packagist.org/packages/arokettu/arithmetic-parser
.. |GitHub|     image:: https://img.shields.io/badge/get%20on-GitHub-informational.svg?style=flat-square&logo=github
   :target:     https://github.com/arokettu/arithmetic-parser
.. |GitLab|     image:: https://img.shields.io/badge/get%20on-GitLab-informational.svg?style=flat-square&logo=gitlab
   :target:     https://gitlab.com/sandfox/arithmetic-parser
.. |Codeberg|   image:: https://img.shields.io/badge/get%20on-Codeberg-informational.svg?style=flat-square&logo=codeberg
   :target:     https://codeberg.org/sandfox/arithmetic-parser
.. |Gitea|      image:: https://img.shields.io/badge/get%20on-Gitea-informational.svg?style=flat-square&logo=gitea
   :target:     https://sandfox.org/sandfox/arithmetic-parser
