| Package Data | |
|---|---|
| Maintainer Username: | ritey |
| Maintainer Contact: | dave@ritey.com (David Wright) |
| Package Create Date: | 2015-05-20 |
| Package Last Update: | 2018-07-20 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-24 15:01:59 |
| Package Statistics | |
|---|---|
| Total Downloads: | 8,179 |
| Monthly Downloads: | 114 |
| Daily Downloads: | 1 |
| Total Stars: | 0 |
| Total Watchers: | 2 |
| Total Forks: | 1 |
| Total Open Issues: | 1 |
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:
"ritey/libphonenumber-laravel": "1.1"
..and run 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 :
'Ritey\LibPhoneNumberLaravel\LibPhoneNumberLaravelServiceProvider',
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.