libphonenumber-js
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript (by catamphetamine)
LibPhoneNumber for PHP
PHP version of Google's phone number handling library (by giggsey)
Our great sponsors
libphonenumber-js | LibPhoneNumber for PHP | |
---|---|---|
4 | 5 | |
2,719 | 4,645 | |
- | - | |
5.8 | 7.0 | |
6 days ago | 8 days ago | |
JavaScript | PHP | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-js
Posts with mentions or reviews of libphonenumber-js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-13.
-
Find It Fast: Streamline Phone Number Searches with OpenSearch
Node.js: libphonenumber-js
-
Get country phone prefix with react-native-localize
I've used https://catamphetamine.gitlab.io/libphonenumber-js/ before and it was great.
- Conseguir formato/validación número de teléfono de países
LibPhoneNumber for PHP
Posts with mentions or reviews of LibPhoneNumber for PHP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-13.
-
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.
What are some alternatives?
When comparing libphonenumber-js and LibPhoneNumber for PHP you can also consider the following projects:
react-native-phone-number-input - React Native component for phone number.
Numbers PHP - Advanced Mathematics Library for PHP (port of Numbers.js)