nmfzone/google-map-place-detail-laravel
Composer 安装命令:
composer require nmfzone/google-map-place-detail-laravel
包简介
Get Place Detail using Google Map API
README 文档
README
Get Place Detail using Google Map API in Laravel.
Installation
Requirements
>= PHP 7.1
Installation in Laravel 5.5 and up
$ composer require nmfzone/google-map-place-detail-laravel
The package will automatically register itself.
Installation in Laravel 5.4
$ composer require nmfzone/google-map-place-detail-laravel
Next up, the service provider must be registered:
// config/app.php 'providers' => [ ... NMFCODES\GoogleMapPlaceDetail\GoogleMapPlaceDetailServiceProvider::class, ];
If you want to make use of the facade you must install it as well:
// config/app.php 'aliases' => [ ... 'GoogleMapPlaceDetail' => NMFCODES\GoogleMapPlaceDetail\GoogleMapPlaceDetailFacade::class, ];
If you want to change the default config, you must publish the config file:
$ php artisan vendor:publish --provider="NMFCODES\GoogleMapPlaceDetail\GoogleMapPlaceDetail"
Installation in Lumen
$ composer require nmfzone/google-map-place-detail-laravel
Next up, the service provider must be registered:
// bootstrap/app.php $app->register(NMFCODES\GoogleMapPlaceDetail\GoogleMapPlaceDetailServiceProvider::class);
Usage
Using facade (with default config),
GoogleMapPlaceDetail::getDetails('ChIJY67epzRYei4R5AnGbv3UNXQ')->getName(); GoogleMapPlaceDetail::getDetails('ChIJY67epzRYei4R5AnGbv3UNXQ')->getProvince();
Security
If you discover any security related issues, please email 123.nabil.dev@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 77
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-28