PHPackages                             fingerred/lib - 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. fingerred/lib

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

fingerred/lib
=============

FingerRed Library

030PHP

Since Dec 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fingerred/library)[ Packagist](https://packagist.org/packages/fingerred/lib)[ RSS](/packages/fingerred-lib/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

library
=======

[](#library)

说明
--

[](#说明)

fingerRed PHP 基础 Lib，提供一些基础服务能力。

原则
--

[](#原则)

- 无需配置即可使用，也可自己实例化配置使用
    - 自有默认配置
    - 基于 RedConfig 做默认配置
- 容错性和保护性设计（辅助功能即使不正常也不影响业务，比如 RedLog）
    - 尽量不暴露内部的成员变量
    - 采用 protected 保持扩展性
    - 内部检查文件存储的权限等
- 静态方法调用，减少使用复杂度
    - 静态方法是动态方法的引用

使用
--

[](#使用)

添加到 `composer.json`

```
{
  "require": {
        "fingerred/lib": "dev-main"
  }
}
```

安装

```
composer require fingerred/lib
```

升级

```
composer update fingerred/lib
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6be8f37a55220f223009224a3add1c797b6b9c430cd52e33463f9c3bf4bb953?d=identicon)[fingerred](/maintainers/fingerred)

---

Top Contributors

[![fingerred](https://avatars.githubusercontent.com/u/9924256?v=4)](https://github.com/fingerred "fingerred (5 commits)")

### Embed Badge

![Health badge](/badges/fingerred-lib/health.svg)

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

###  Alternatives

[marcogermani87/filament-cookie-consent

Easy cookie consent integrations for Filament

1917.0k](/packages/marcogermani87-filament-cookie-consent)

PHPackages © 2026

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