iox/locationist
最新稳定版本:v0.0.1
Composer 安装命令:
composer require iox/locationist
包简介
get users locations
README 文档
README
1.To install the package, run " composer require iox/locationist "
2.To get lattitude and logitude use "Location::get_latt_long()" in your controller;
3."get_latt_long()" method returns users lattitude and longitude.
4.to find users into map using those lattitude and longitude use "Location::get_location()".This method takes lattitude and longitude as parameter.And returns a url of google map with desired location.
5.type "use Iox\Locationist\Location" to import the class in your desire controller.
###additional ###
if laravel can't find the class then add "Iox\Locationist\LocationServiceProvider::class" into "provider" array in "config/app.php" directory .
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-05