PHPackages                             codelint/ringo - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. codelint/ringo

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

codelint/ringo
==============

log/notify for laravel project

052PHP

Since Nov 29Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/codelint/ringo)[ Packagist](https://packagist.org/packages/codelint/ringo)[ RSS](/packages/codelint-ringo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

### Install

[](#install)

```
composer require codelint/ringo
```

### Configuration

[](#configuration)

```
# add to .env file
# use laravel global mail function to mail
MAIL_DRIVER=smtp
MAIL_HOST=smtp.example.com
MAIL_PORT=465
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_NAME=
MAIL_FROM_ADDRESS=
MAIL_ENCRYPTION=ssl

RINGO_WECORP_CHAT_ID=ringo
# must uid must more than 1 (at least 2), else can't not create the chat[ringo] auto
RINGO_WECORP_CHAT_UIDS=gzhang,dev
RINGO_WECORP_ID=****
RINGO_WECORP_SECRET=****
RINGO_ALERT_MAIL=unotseeme@foxmail.com
RINGO_MAIL_DOMAIN=example.com
RINGO_NOTIFY_MAIL=notify@example.com
RINGO_JOB_CONNECTION=sync
```

### Usage

[](#usage)

##### 日志文件通知

[](#日志文件通知)

```
Ringo::info("hello world");
Ringo::warning("hello world");
Ringo::alert("hello world"); // will trigger mail & wecorp notify
Ringo::error("hello world"); // will trigger mail & wecorp notify
```

##### 发送邮件通知

[](#发送邮件通知)

```
Ringo::mail("message", ["ext" => "hello"], ["test@example.com"]); // no log file
Ringo::mail(new Exception("hello world"), ["test@example.com"]); // no log file
Ringo::notify(new Exception("hello world"), ["test@example.com"]); // with info log
// 给企业邮箱 $mailName@RINGO_MAIL_DOMAIN 发送notify信息
Ringo::notify$mailName("message", ["ext" => "hello"], ["test@example.com"]);
```

##### 发送企业微信通知

[](#发送企业微信通知)

```
Ringo::weCorp("message", ["ext" => "hello"]);
Ringo::weError("message", ["ext" => "hello"]);
// 给 群组$group 发送企业微信通知
Ringo::we$group("send message to a theme", ["ext" => "hello"])
```

##### 默认发送

[](#默认发送)

### Reference

[](#reference)

-

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/61a5de4266d2c6f68c87e4eaaf76f41cdf0e25a40673cf9ce48bcadb07aa71c9?d=identicon)[codelint](/maintainers/codelint)

---

Top Contributors

[![hikerwater](https://avatars.githubusercontent.com/u/100430409?v=4)](https://github.com/hikerwater "hikerwater (50 commits)")[![codelint](https://avatars.githubusercontent.com/u/1194122?v=4)](https://github.com/codelint "codelint (4 commits)")

### Embed Badge

![Health badge](/badges/codelint-ringo/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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