Service Provider for libphonenumber-for-php package
This is a Service Provider and Facade package for the PHP library libphonenumber-for-php to make using the package with Laravel really easy.
To install libphonenumber-laravel as a Composer package, simply add this to your composer.json:
composer update. Once it's installed, if you're using Laravel 5, you can register the service provider in
app/config/app.php in the
providers array add :
You can also benefit from using a Facade in Laravel 5 by adding to the alias array also in app.php below the providers array
'LibPhoneNumber' => 'Ritey\LibPhoneNumberLaravel\LibPhoneNumberLaravelFacade',
libphonenumber-laravel has been coded by David Wright (@ritey) and is released under the MIT License.