ritey/libphonenumber-laravel
Composer 安装命令:
composer require ritey/libphonenumber-laravel
包简介
Service Provider for libphonenumber-for-php package
README 文档
README
This is a Service Provider and Facade package for the PHP library libphonenumber-for-php to make using the package with Laravel really easy.
Composer
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',
Copyright and Licence
libphonenumber-laravel has been coded by David Wright (@ritey) and is released under the MIT License.
统计信息
- 总下载量: 9.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-20