mammutgroup/cedarmap
Composer 安装命令:
composer require mammutgroup/cedarmap
包简介
cedar maps api package
README 文档
README
Requirements:
- php ~5.6.*
Instalation:
First add package name to your composer requirements
"require": { "mammutgroup/cedarmap": "dev" }
Next, update Composer from the Terminal:
composer update
Next, add your new provider to the providers array of config/app.php:
'providers' => [ // ... Cedar\CedarServiceProvider::class, // ... ]
Next, add class alias to the aliases array of config/app.php:
'aliases' => [ // ... 'Cedar' => Cedar\CedarFacade::class // ... ]
Finally, run:
php artisan vendor:publish
Ho to use:
$geocode = (new Cedar\Cedar('v1')) ->load('geocode') ->setParamByKey('title', 'ونک'); dd($geocode->getJson())
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-01-22