Easy php library to validate phone number.
1- go to https://apilayer.com/marketplace/description/number_verification-api
2- choose your subscription plan.
3- copy the api key.
4- open example.php file and change the api key with yours.
That's it, Have a nice time :).