定制 rentalmanager/geolocate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rentalmanager/geolocate

Composer 安装命令:

composer require rentalmanager/geolocate

包简介

Geolocate package for easier property geolocate functionality.

README 文档

README

A package made for Rentbits for easier maintenance and modularity of managing rental listings. It includes all migrations, models and relations to run the rental system.

Installation, Configuration and Usage

Installation

Via Composer

composer require rentalmanager/geolocate

Configuration

Once you install the package, it should be automatically discovered by the Laravel. To check this, in your terminal simply run the:

$ php artisan

There you should find the all rm:* commands.

First step after checking is to publish the vendors:

$ php artisan vendor:publish --tag="geolocate"

You can setup the Google Maps API key in the config file or in the .env file. Other settings are available in the config file as well.

Thats it...

Usage

This package is used to geolocate the property through the provided Facade

Facade

This package provides methods for fetching, geolocating records. For example you have a following situation:

(First of you need to use the Facade as )

use RentalManager\Geolocate\Facades\Geolocate;

in your class.

// You have the address in a string 
$address = '2136 Market St, Philadelphia, PA 19103';

// So you just want to get the geolocation data from it
$response = Geolocate::find($address);

Dump the response to see what it retrieves

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-09-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固