PHPackages                             lichunyin/blogroll - 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. lichunyin/blogroll

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

lichunyin/blogroll
==================

网站友自动验证与添加

112PHP

Since Feb 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/li-chun-yin/blogroll)[ Packagist](https://packagist.org/packages/lichunyin/blogroll)[ RSS](/packages/lichunyin-blogroll/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

lichunyin/blogroll
==================

[](#lichunyinblogroll)

lichunyin/blogroll 是一个php开发的友情链接自助申请模块。

对方通过 lichunyin/blogroll 提供的表单提交他的网站url与名称。lichunyin/blogroll内部会检查对方是否添加了我方的链接，并将对方的链接添加为我方的友情链接。

本模块代码中demo是本模块的使用实例，你可以在该目录下执行 php -S 127.0.0.1:8090 查看运行效果。

[![form.png](form.png)](form.png)

基本配置与说明
-------

[](#基本配置与说明)

```
$options                    = [];
$options['site_title']      = "demo";   // 我方网站标题
$options['site_url']        = "http://licy.top"; // 我方网站url,对方需要将这个链接添加到他的友情链接列表
$options['link_storage']    = new FileStorage(__DIR__ . DIRECTORY_SEPARATOR . 'link.storage.json'); // 友情链接存储信息的操作类。目前lichunyin/blogroll只提供了json格式的文件存储
$config                     = new Config($options); // 配置信息设置类
$link                       = new Link($config);    // 链接操作类，用来读取友情链接，或添加友情链接
$pager                      = new Pager($link);     // pager类用户或者html页面相关的html内容
```

友情链接信息转换为html输出
---------------

[](#友情链接信息转换为html输出)

```

```

友情链接申请表单
--------

[](#友情链接申请表单)

```

```

###  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/0a4510e4dad6e81bc603e18d38a459525e00480c702cff87304a0b2e624b8a75?d=identicon)[asbamboo](/maintainers/asbamboo)

---

Top Contributors

[![li-chun-yin](https://avatars.githubusercontent.com/u/11848841?v=4)](https://github.com/li-chun-yin "li-chun-yin (8 commits)")

### Embed Badge

![Health badge](/badges/lichunyin-blogroll/health.svg)

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

PHPackages © 2026

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