# 继 v2sub 之后，我研制了一个 php 版的订阅聚合

**URL:** <https://www.nodeloc.com/t/topic/116417>\
**Category:** 编程开发\
**Created:** [2026 年11 月 3 日 09:21 UTC](https://www.nodeloc.com/t/topic/116417 "2026-11-03T09:21:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![runoneall](https://www.nodeloc.com/user_avatar/www.nodeloc.com/runoneall/32/62555_2.png) [@runoneall](https://www.nodeloc.com/u/runoneall)\
发布日期： [2026 年11 月 3 日 09:21 UTC](https://www.nodeloc.com/t/topic/116417/1 "2026-11-03T09:21:53Z")

</div>

项目地址：[GitHub - runoneall/phpsub · GitHub](https://github.com/runoneall/phpsub)

这个项目不带面板，就是纯聚合，采用文件设计

修改密码：[phpsub/index.php at main · runoneall/phpsub · GitHub](https://github.com/runoneall/phpsub/blob/main/index.php#L13)

在 data 下新建 php 文件即可添加订阅

```php
<?php
// data/example.php
$sub = "...";
$nodes = ["..."];
$exclude = ["..."];
$prefix = "...";

```

- sub：订阅链接
- nodes：单个节点（支持和 sub 同时指定）
- exclude：基于字符串匹配的节点过滤
- prefix：在节点名称前加入自定义前缀

---

<div class="post-metadata">

作者： ![jhon25](https://www.nodeloc.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@jhon25](https://www.nodeloc.com/u/jhon25)\
发布日期： [2026 年11 月 4 日 01:09 UTC](https://www.nodeloc.com/t/topic/116417/2 "2026-11-04T01:09:01Z")

</div>

无面板纯文件配置的模式挺务实的，聚合订阅和节点过滤一起处理比较省事
