PackageTrack
Sign in Get early access

mossadal/math-parser

PHP parser for mathematical expressions, including elementary functions, variables and implicit multiplication. Also supports symbolic differentiation.

v1.3.16 1.9M downloads/mo #3130 most downloaded on Packagist mossadal/math-parser

What this package is like to depend on

Last release 8 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 8 months

Some releases are documented

notes for 8 of 22 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

22 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

22 releases · Jan 2016 to Sep 2018
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 22
  1. v1.3.16 15 Sep 2018
    Release notes

    Improved error message for UnknownTokenException

    Open source →
  2. v1.3.15 14 Sep 2018
    Release notes

    Separate handling of ln/log.
    Parsers now inherit from AbstractMathParser (thanks to HorseLuke).
    Removed 'i' from StdMathLexer (complex numbers only available through ComplexLexer)

    Open source →
  3. v1.3.13 04 Jan 2018
    Release notes
    • LaTeXPrinter prints exp(x/3) as e^{x/3}, i.e. with solidus instead
      of \frac, following up on 1.3.12 update for handling of a^(x/3)
    Open source →
  4. v1.3.12 04 Jan 2018
    Release notes

    Improved differentiation of e^x

    Open source →
  5. v1.3.11 02 Oct 2017
    Release notes

    Optionally allow denormalized rationals in RationalNode

    Open source →
  6. v1.3.10 01 Oct 2017
    Release notes

    Slight bug fixes:

    • cot(0), coth(0), cotd(0) now returns NAN rather than throwing a DivisionByZero error
    • Handling of ^ in Evaluator tweaked so that e^x and exp(x) always returns the same value. (Apparantly, pow(M_E,x) and exp(x) in PHP are not quite identical.)
    • Bug in LaTeXPrinter was causing a missing \cdot in some expressions, e.g. "2*3^2" was written as "23^2" rather than "2\cdot 3^2". This is now fixed.
    Open source →
  7. v1.3.9 21 Feb 2017
    Release notes

    Set Evaluator::variables to [] instead of null as a default. See issu…

    Open source →
  8. v1.3.8 19 Dec 2016
    Release notes

    Fixed Evaluator bug in sgn()

    Open source →
  9. v1.3.7 19 Dec 2016

    Nothing published for this version

  10. v1.3.6 01 Dec 2016

    Nothing published for this version

  11. v1.3.5 01 Dec 2016

    Nothing published for this version

  12. v1.3.4 29 Oct 2016

    Nothing published for this version

  13. v1.3.3 24 Oct 2016

    Nothing published for this version

  14. v1.3.2 24 Oct 2016

    Nothing published for this version

  15. v1.3.1 19 Oct 2016

    Nothing published for this version

  16. v1.3.0 19 Oct 2016

    Nothing published for this version

  17. v1.2.3 21 Mar 2016

    Nothing published for this version

  18. v1.2.2 21 Mar 2016

    Nothing published for this version

  19. v1.2.1 19 Feb 2016

    Nothing published for this version

  20. v1.2.0 07 Feb 2016

    Nothing published for this version

  21. v1.1.0 07 Jan 2016

    Nothing published for this version

  22. v1.0 04 Jan 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive