PHPackages                             hivenkay/laravel-easylbs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. hivenkay/laravel-easylbs

ActiveLibrary[API Development](/categories/api)

hivenkay/laravel-easylbs
========================

百度LBS Yun SDK Of EasyLbs For Laravel

114

Since Apr 24Compare

[ Source](https://github.com/HivenKay/Laravel-EasyLbs)[ Packagist](https://packagist.org/packages/hivenkay/laravel-easylbs)[ RSS](/packages/hivenkay-laravel-easylbs/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-EasyLbs
===============

[](#laravel-easylbs)

Laravel 百度 LBS云 SDK Service Provider

EasyLbs
=======

[](#easylbs)

百度云地图LBS SDK 使用前请先阅读百度云LBS服务云文档，本SDK不再对请求参数以及响应作解释
--------------------------------------------------

[](#百度云地图lbs-sdk使用前请先阅读百度云lbs服务云文档本sdk不再对请求参数以及响应作解释)

使用说明
====

[](#使用说明)

安装
--

[](#安装)

composer require hivenkay/easylbs

配置
--

[](#配置)

在`app/config.php`中的 providers数组增加：

```
  HivenKay\LaravelLbs\ServiceProvider::class,

```

在命令行执行`php artisan vendor:publish`发布 lbs 配置文件

在`app/easy_lbs.php`中配置百度云的ak和 sk

使用
--

[](#使用)

```
  EasyLbs::XXX()
  GeoTable::XXX()
  ...
```

云存储
===

[](#云存储)

方法列表：
-----

[](#方法列表)

```
* create
* getList
* update
* detail
* delete

```

位置数据表（geotable）
---------------

[](#位置数据表geotable)

```
    $geoTable = new GeoTable('your-ak','your-sk');
```

自定义扩展列（column）
--------------

[](#自定义扩展列column)

```
    $geoColumn = new GeoColumn('your-ak','your-sk');
```

位置数据（poi）
---------

[](#位置数据poi)

```
    $geoPoi = new GeoPoi('your-ak','your-sk');
```

云检索
===

[](#云检索)

poi周边搜索
-------

[](#poi周边搜索)

```
    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfNearBy($attributes);
```

poi本地检索
-------

[](#poi本地检索)

```
    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfLocal($attributes);
```

poi详情检索
-------

[](#poi详情检索)

```
    $geoSearch = new GeoSearch('your-ak','your-sk');
    //$attributes 请参考百度云文档
    $geoSearch->searchOfDetail($attributes);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/07ecf474bcb2ada4202538495d558d6c8cdffdba6f405f1e35b41e4e7bddeac0?d=identicon)[hivenkay](/maintainers/hivenkay)

### Embed Badge

![Health badge](/badges/hivenkay-laravel-easylbs/health.svg)

```
[![Health](https://phpackages.com/badges/hivenkay-laravel-easylbs/health.svg)](https://phpackages.com/packages/hivenkay-laravel-easylbs)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
