PHPackages                             vergil-lai/laravel-goeasy - 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. vergil-lai/laravel-goeasy

ActiveLibrary[API Development](/categories/api)

vergil-lai/laravel-goeasy
=========================

GoEasy的Laravel广播驱动

v0.1.5(1y ago)2351MITPHPPHP ^8.0.2

Since Jul 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/vergil-lai/laravel-goeasy)[ Packagist](https://packagist.org/packages/vergil-lai/laravel-goeasy)[ RSS](/packages/vergil-lai-laravel-goeasy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (7)Used By (0)

 laravel-goeasy
================

[](#-laravel-goeasy-)

laravel-goeasy
--------------

[](#laravel-goeasy)

[GoEasy](https://www.goeasy.io/)的[Laravel广播](https://laravel.com/docs/10.x/broadcasting)驱动

安装需求
----

[](#安装需求)

- PHP &gt;= 8.0
- Laravel &gt;= 9.x | 10.x

安装
--

[](#安装)

```
$ composer require vergil-lai/laravel-goeasy
```

Laravel使用
---------

[](#laravel使用)

### 配置

[](#配置)

在 `config/broadcasting.php` 的`connections`中添加以下配置：

```
'goeasy' => [
    'driver' => 'goeasy',
],
```

在`configs/app.php`的`aliases`中加入：

```
'GoEasy' => \VergilLai\LaravelGoeasy\Facades\GoEasy::class,
```

在[GoEasy](https://www.goeasy.io/)中创建应用，获取`Common Key`和`Subscribe Key`， 或者使用[OTP](https://docs.goeasy.io/2.x/common/otp)的`Rest key`和`Secret key`

在`.env`文件加入：

```
BROADCAST_DRIVER=goeasy
GOEASY_HOST=https://rest-hz.goeasy.io
## 或rest-singapore.goeasy.io
GOEASY_COMMON_KEY=your-common-key
GOEASY_SUBSCRIBE_KEY=your-subscribe-key
```

或

```
GOEASY_REST_KEY=your-rest-key
GOEASY_SECRET_KEY=your-secret-key
```

这样，就可以使用`broadcast`广播事件了。 详情请参阅[Laravel文档](https://laravel.com/docs/10.x/broadcasting)。

### 获取[OTP](https://docs.goeasy.io/2.x/common/otp)和[AccessToken](https://docs.goeasy.io/2.x/common/security/authorization)

[](#获取otp和accesstoken)

使用`GoEasy`Facade方法：

```
GoEasy::otp();
GoEasy::pubsub()->makeAccessToken('your user id', 'channel name', $readable, $writeable),
```

客户端使用
-----

[](#客户端使用)

请参阅[GoEasy官方文档](https://docs.goeasy.io/2.x/)。

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

Every ~77 days

Recently: every ~96 days

Total

6

Last Release

643d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b424b50321c5c4e07d1fec62aaa089dc178240c57a1658ab3cbfd1443c60095?d=identicon)[vergil](/maintainers/vergil)

---

Top Contributors

[![vergil-lai](https://avatars.githubusercontent.com/u/2268937?v=4)](https://github.com/vergil-lai "vergil-lai (11 commits)")

### Embed Badge

![Health badge](/badges/vergil-lai-laravel-goeasy/health.svg)

```
[![Health](https://phpackages.com/badges/vergil-lai-laravel-goeasy/health.svg)](https://phpackages.com/packages/vergil-lai-laravel-goeasy)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[agence104/livekit-server-sdk

Server-side SDK for LiveKit.

79189.9k1](/packages/agence104-livekit-server-sdk)[packbackbooks/lti-1p3-tool

A library used for building IMS-certified LTI 1.3 tool providers in PHP.

51438.3k2](/packages/packbackbooks-lti-1p3-tool)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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