PHPackages                             uniondrug/framework - 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. [Framework](/categories/framework)
4. /
5. uniondrug/framework

ActiveLibrary[Framework](/categories/framework)

uniondrug/framework
===================

Uniondrug framework. A mini framework based on Phalcon

2.16.4(5y ago)29.0k220MITPHPPHP &gt;=7.0

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/uniondrug/framework)[ Packagist](https://packagist.org/packages/uniondrug/framework)[ RSS](/packages/uniondrug-framework/feed)WikiDiscussions 2.x Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (71)Used By (20)

目录结构
====

[](#目录结构)

- 路由
- 目录结构

### 路由

[](#路由)

支持默认路由和注解路由，支持自定义路由。

开启注解路由： `config/app.php` 增加配置项 `userAnnotationRouter` 并且设置为 `true` 即可。注解路由打开后，默认路由失效。

自定义路由在： `config/routes.php` 中定义。

### 目录结构

[](#目录结构-1)

> 框架级`Framework`目录结构

```
/vendor/uniondrug/framework/src
├── Events
│   └── Listeners
│       └── DatabaseListener.php
├── Providers
│   ├── ConfigProvider.php
│   ├── DatabaseProvider.php
│   ├── LoggerProvider.php
│   └── RouterProvider.php
├── Application.php
├── Container.php
├── Logger.php
├── Request.php
└── Router.php

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~17 days

Recently: every ~54 days

Total

69

Last Release

1891d ago

Major Versions

1.23 → 2.02018-02-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/865ceb7d8226574735eab8fc82de9cfbc4a708c291b3c816e75d53944348b686?d=identicon)[wsfuyibing](/maintainers/wsfuyibing)

---

Top Contributors

[![fuyibing](https://avatars.githubusercontent.com/u/8390620?v=4)](https://github.com/fuyibing "fuyibing (93 commits)")[![xueron](https://avatars.githubusercontent.com/u/2560873?v=4)](https://github.com/xueron "xueron (57 commits)")[![haven-chen](https://avatars.githubusercontent.com/u/18387667?v=4)](https://github.com/haven-chen "haven-chen (2 commits)")[![lvchaohui](https://avatars.githubusercontent.com/u/34764539?v=4)](https://github.com/lvchaohui "lvchaohui (2 commits)")[![z-eli](https://avatars.githubusercontent.com/u/34879889?v=4)](https://github.com/z-eli "z-eli (1 commits)")

### Embed Badge

![Health badge](/badges/uniondrug-framework/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[symfony/symfony-demo

Symfony Demo Application

2.6k238.8k](/packages/symfony-symfony-demo)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[oxid-esales/oxideshop-ce

This package contains OXID eShop CE source code.

2381.1M191](/packages/oxid-esales-oxideshop-ce)

PHPackages © 2026

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