LibPhoneNumber for PHP
decimal-object
Our great sponsors
LibPhoneNumber for PHP | decimal-object | |
---|---|---|
5 | 2 | |
4,645 | 22 | |
- | - | |
7.0 | 4.7 | |
11 days ago | 6 months ago | |
PHP | PHP | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LibPhoneNumber for PHP
-
Find It Fast: Streamline Phone Number Searches with OpenSearch
PHP: libphonenumber-for-php
-
Cophone – Your Virtual Smartphone
by the way, if you only need a validation of a number, no need for Twilio: this is a great lib https://github.com/giggsey/libphonenumber-for-php
-
Regex question
I recommend using a phone number library instead of trying to solve this using regex. Look at giggsey/libphonenumber-for-php for example.
-
Recommendations for a Phone number masking service
I've used this one before https://github.com/giggsey/libphonenumber-for-php and may suit your needs.
-
LibPhoneNumber (PHP) and small Irish landline numbers
Just wondering if anyone has used the PHP port of Google's LibPhoneNumber and if/how they crossed the bridge of small (5, 6 digit) Irish landline numbers not validating? It's not an issue with the port - the validation fails for Google's Java version too.
decimal-object
- Having problems with double values
-
BCMath wrapper package
Or https://github.com/spryker/decimal-object which has one advantage on top: Working with strings keeps the precision.
What are some alternatives?
Numbers PHP - Advanced Mathematics Library for PHP (port of Numbers.js)
Brick\Math - Arbitrary-precision arithmetic library for PHP
ByteUnits - Library to parse, format and convert byte units
ip - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Numbase - Arbitrary number base converter.
math - 🧮 Path to a free self-taught education in Mathematics!
PHP Units of Measure - A library for handling physical quantities and the units of measure in which they're represented.
bigint-wrapper-php - Fast common interface for php_gmp and php_bcmath modules
Math - A PHP 5.3+ mathematics library, providing functionality for large numbers
probability-selector-php - Selection manager for the next element from data source based on uniform distribution of selections
BigNum-PHP - BigNum library for PHP compatible with bn.js
PHP Conversion - Library for converting units and sizes in PHP