A collection of PHP libraries, plugins, utilities and tools for parsing and manipulating numbers including bigInteger, bigDecimal and bigRational, byte units, binary, metric system, unit conversion, IPv4, IPv6, phone numbers and more. Sourced under a permissive license. This list will be updated regularly. Email over the URL, if you wish to be included.

PHP libraries for parsing and manipulating numbers

Libraries for working with numbers.

  • Brick\Math – A library providing large number support: BigIntegerBigDecimal and BigRational.
  • ByteUnits – A library to parse, format and convert byte units in binary and metric systems.
  • DecimalObject – A value object to handle decimals/floats easily and more precisely.
  • IP – An immutable value object for working with IPv4 and IPv6 addresses.
  • LibPhoneNumber for PHP – A PHP implementation of Google’s phone number handling library.
  • PHP Conversion – Another library for converting between units of measure.
  • PHP Units of Measure – A library for converting between units of measure.
  • MathPHP – A math library for PHP.

Tags: PHP libraries, PHP utilities, PHP tools, PHP Plugins, PHP bigInteger, PHP bigDecimal, PHP bigRational, PHP byte units, PHP binary, PHP metric system, PHP unit conversion, PHP IPv4, PHP IPv6, PHP phone numbers, PHP unit conversion, PHP measurement conversion, Math PHP, PHP Maths Library, PHP maths, Maths, Mathematics, units of measure, PHP decimal, PHP Float, php parse bytes, php parse binary, php parse metric system, Brick\Math, ByteUnits, DecimalObjects, IP, LibPhoneNumber, PHP Conversion