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(7y ago)014MITPHPPHP &gt;=7.0.0

Since May 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kubill/lbs)[ Packagist](https://packagist.org/packages/kubill/lbs)[ RSS](/packages/kubill-lbs/feed)WikiDiscussions master Synced 2w 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 31% 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

2601d 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

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1533.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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