PHPackages                             kubill/lbs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kubill/lbs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kubill/lbs
==========

A lbs library,Support multiple service providers.

v1.0(6y ago)014MITPHPPHP &gt;=7.0.0

Since May 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kubill/lbs)[ Packagist](https://packagist.org/packages/kubill/lbs)[ RSS](/packages/kubill-lbs/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

\#LBS插件库
--------

[](#lbs插件库)

支持 Google、高德、腾讯、百度

Install using composer:

```
composer require kubill/lbs
```

配置
--

[](#配置)

在使用之前，去个平台获取相应的key

基本用法
----

[](#基本用法)

```
use Kubill\Lbs\GeoCoder;

$geoCoder = new GeoCoder($key,$driver);
$geoCoder->addr2coder($addr);
```

在 laravel 中使用
-------------

[](#在-laravel-中使用)

```
php artisan vendor:publish --provider="Kubill\Lbs\ServiceProvider"
```

配置 .env

```
LBS_DRIVER=tencent
LBS_KEY=xxxxx
```

服务名访问

```
app('GeoCoder')->addr2coder('地址');
```

Facade

```
\Kubill\Lbs\Facades\GeoCoder::addr2coder('地址');
```

License
-------

[](#license)

Lbs is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2554d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bb340a8881098072494fd3a284ce0941d84832c353c8471bc3bda524762a91b?d=identicon)[kubill](/maintainers/kubill)

---

Top Contributors

[![meiweijia](https://avatars.githubusercontent.com/u/9076442?v=4)](https://github.com/meiweijia "meiweijia (1 commits)")

### Embed Badge

![Health badge](/badges/kubill-lbs/health.svg)

```
[![Health](https://phpackages.com/badges/kubill-lbs/health.svg)](https://phpackages.com/packages/kubill-lbs)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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