PHPackages                             shebaoting/flarum-dependency-collector - 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. shebaoting/flarum-dependency-collector

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

shebaoting/flarum-dependency-collector
======================================

Collects and displays information about Flarum extensions and their dependencies

2.0.2(yesterday)001[2 issues](https://github.com/shebaoting/flarum-dependency-collector/issues)[1 PRs](https://github.com/shebaoting/flarum-dependency-collector/pulls)MITJavaScriptPHP ^8.3CI failing

Since May 9Pushed yesterday1 watchersCompare

[ Source](https://github.com/shebaoting/flarum-dependency-collector)[ Packagist](https://packagist.org/packages/shebaoting/flarum-dependency-collector)[ RSS](/packages/shebaoting-flarum-dependency-collector/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (9)Used By (0)

Dependency Collector
====================

[](#dependency-collector)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/2ba0bced7305f4bf25b0a6173ce75cd4aa8c7ddbe1e7786f5b9fa41955c03d14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686562616f74696e672f666c6172756d2d646570656e64656e63792d636f6c6c6563746f722e737667)](https://packagist.org/packages/shebaoting/flarum-dependency-collector) [![Total Downloads](https://camo.githubusercontent.com/75a5cf3b0a104070a5fe965a18cff1c5c5cda81d45b1cd68a0b86c181a3dd0b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73686562616f74696e672f666c6172756d2d646570656e64656e63792d636f6c6c6563746f722e737667)](https://packagist.org/packages/shebaoting/flarum-dependency-collector)

Dependency Collector is a Flarum extension for building a curated, community-powered directory of products, libraries, tools, links, projects, or any other resources your forum wants to collect.

It was originally designed for collecting technical dependencies, but the extension is intentionally generic: users submit entries, moderators review them, categories keep the directory organized, and the forum frontend presents approved entries in a searchable card grid.

[Read the Chinese documentation](README.zh-CN.md)

[![Dependency Collector demo](https://camo.githubusercontent.com/3382b08b09d70006c6cb601bd6e5f5a9c34cc12b43905829dea7eb1180528456/68747470733a2f2f77797a2d78797a2e6f73732d636e2d6875686568616f74652e616c6979756e63732e636f6d2f323032352d30352d30382f313734363730353036362d3431373330322d696d6167652e706e67)](https://camo.githubusercontent.com/3382b08b09d70006c6cb601bd6e5f5a9c34cc12b43905829dea7eb1180528456/68747470733a2f2f77797a2d78797a2e6f73732d636e2d6875686568616f74652e616c6979756e63732e636f6d2f323032352d30352d30382f313734363730353036362d3431373330322d696d6167652e706e67)

Demo:

Requirements
------------

[](#requirements)

- Flarum 2.x
- PHP 8.3 or higher
- Composer

Features
--------

[](#features)

- **Community submissions:** Signed-in users with permission can submit new directory items from the forum frontend.
- **Moderation workflow:** Submitted items can be reviewed, edited, approved, rejected, or deleted by users with moderation permission.
- **Custom categories:** The extension includes its own category system, separate from Flarum Tags. Each category can have a name, slug, description, color, and Font Awesome icon.
- **Category management UI:** Administrators can create and edit categories in the extension settings page. Icon codes can be typed manually or selected from the built-in icon picker.
- **Search:** The directory can be searched by title and description, with results updating directly in the frontend list.
- **Filtering:** Users can filter approved items by category.
- **Favorites:** Logged-in users can favorite and unfavorite items, and quickly switch to their saved list.
- **Responsive card layout:** Approved items are shown as cards with title, description, categories, author, and compact action buttons.
- **Bilingual language files:** English and Simplified Chinese translations are included.
- **Flarum 2 API resources:** The extension uses Flarum 2 resource-based API integration instead of the older Flarum 1 serializer/controller pattern.
- **Permission controls:** Admins can configure who may submit, moderate, delete, and manage categories.

Common Use Cases
----------------

[](#common-use-cases)

- A community product directory
- A library, package, or dependency collection
- A curated resource list
- A showcase of member projects
- A reading list or tool list
- A recommendation board that requires approval before publication

Installation
------------

[](#installation)

Run this command in your Flarum root directory:

```
composer require shebaoting/flarum-dependency-collector:"*"
php flarum migrate
php flarum cache:clear
```

Then enable the extension in the Flarum admin dashboard.

Updating
--------

[](#updating)

Run:

```
composer update shebaoting/flarum-dependency-collector:"*"
php flarum migrate
php flarum cache:clear
```

If your forum still requires the old package name, switch the Composer requirement first:

```
composer remove shebaoting/dependency-collector --no-update
composer require shebaoting/flarum-dependency-collector:"*" -W
```

If you are upgrading from the Flarum 1.x version, keep your existing database data in place. The Flarum 2.x version is designed to continue using the extension's existing tables while updating the API and frontend integration.

Usage
-----

[](#usage)

### 1. Enable the Extension

[](#1-enable-the-extension)

Go to the Flarum admin dashboard, open the extension list, and enable **Dependency Collector**.

### 2. Configure Permissions

[](#2-configure-permissions)

Open the permissions page and configure the Dependency Collector permissions:

- Who can submit items
- Who can moderate submitted items
- Who can delete items
- Who can manage categories

Typical setup:

- Members can submit items.
- Moderators and administrators can review and moderate items.
- Administrators can manage categories.

### 3. Create Categories

[](#3-create-categories)

Open the Dependency Collector settings page in the admin dashboard and create categories.

Each category supports:

- Name
- Slug
- Optional description
- Color
- Icon

The icon field accepts Font Awesome class names such as `fas fa-code`, `fas fa-cube`, or `fas fa-layer-group`. You can also pick an icon from the built-in selector, which fills the input for you.

### 4. Submit Items

[](#4-submit-items)

Users with submit permission can open the forum directory page and click **Submit Dependency**.

Each item includes:

- Title
- Link
- Description
- One or more categories

New items are not shown publicly until approved.

### 5. Review Items

[](#5-review-items)

Moderators can review pending items from the admin page. They can approve, edit, reject, or delete entries.

### 6. Browse the Directory

[](#6-browse-the-directory)

Approved items are shown on the forum frontend. Users can:

- Browse all approved items
- Filter by category
- Search by title or description
- Favorite useful items
- Switch to their favorites list

Frontend Route
--------------

[](#frontend-route)

The extension registers this forum route:

```
/dependencies

```

For example:

```
https://example.com/dependencies

```

Development
-----------

[](#development)

Install frontend dependencies and build assets from the `js` directory:

```
cd js
corepack yarn install
corepack yarn build
```

During development you can use:

```
corepack yarn dev
```

After PHP or frontend changes, clear the Flarum cache from your Flarum root:

```
php flarum cache:clear
```

Links
-----

[](#links)

- My Community:
- Packagist:
- GitHub:

Contact
-------

[](#contact)

For custom Flarum extension development or collaboration:

Email:

License
-------

[](#license)

This extension is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance100

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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 ~59 days

Recently: every ~103 days

Total

8

Last Release

1d ago

Major Versions

1.2.3 → 2.0.02026-06-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29738814?v=4)[牛铁柱](/maintainers/shebaoting)[@shebaoting](https://github.com/shebaoting)

---

Top Contributors

[![shebaoting](https://avatars.githubusercontent.com/u/29738814?v=4)](https://github.com/shebaoting "shebaoting (24 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/shebaoting-flarum-dependency-collector/health.svg)

```
[![Health](https://phpackages.com/badges/shebaoting-flarum-dependency-collector/health.svg)](https://phpackages.com/packages/shebaoting-flarum-dependency-collector)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12127.5k](/packages/flarum-lang-russian)[fof/byobu

Well integrated, advanced private discussions.

59112.4k11](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4062.0k7](/packages/fof-gamification)[fof/polls

 A Flarum extension that adds polls to your discussions

25130.2k9](/packages/fof-polls)[fof/user-bio

Add a user bio to user profiles

20102.0k9](/packages/fof-user-bio)[fof/sitemap

Generate a sitemap

1796.4k2](/packages/fof-sitemap)

PHPackages © 2026

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