PHPackages                             suxianjia/short\_code - 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. suxianjia/short\_code

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

suxianjia/short\_code
=====================

基于 Nginx + PHP 8.2 + MySQL 8 + Redis 的短域名系统

v1.0.02(9mo ago)00MITPHPPHP ^8.2

Since Aug 8Pushed 9mo agoCompare

[ Source](https://github.com/suxianjia/suxianjia_short_code)[ Packagist](https://packagist.org/packages/suxianjia/short_code)[ RSS](/packages/suxianjia-short-code/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

仙家短链系统
======

[](#仙家短链系统)

项目概述
----

[](#项目概述)

仙家短链系统是一个高性能的URL缩短服务，支持：

- 长链接转短链接
- 短链接访问统计
- 分布式部署

项目结构
----

[](#项目结构)

```
├── config/                  # 配置文件
├── database/                # 数据库脚本
│   └── migrations/         # 数据库迁移文件
├── demo/                    # 示例代码
├── doc/                     # 文档
├── examples/                # 示例配置
├── log/                     # 日志目录
├── src/                     # 核心源代码
│   ├── Cache/               # 缓存组件
│   ├── Config/              # 配置管理
│   ├── Controller/          # 控制器
│   ├── Core/                # 核心组件
│   ├── Driver/              # 数据库驱动
│   ├── Factory/             # 工厂类
│   ├── Interface/           # 接口定义
│   ├── Middleware/          # 中间件
│   ├── Model/               # 数据模型
│   ├── Server/              # 服务端实现
│   ├── Services/            # 业务服务
│   ├── Util/                # 工具类
│   └── Validator/           # 验证器
├── tests/                   # 测试代码
├── .env                     # 环境配置
├── composer.json            # 依赖配置
├── nginx.conf               # Nginx配置
└── server.php               # 服务入口

```

快速开始
----

[](#快速开始)

1. 安装依赖：`composer install`
2. 配置数据库：修改`.env`文件
3. 启动服务：`php server.php`

开发指南
----

[](#开发指南)

- 代码规范：遵循PSR-12标准
- 提交前请运行：`./pre-commit`

```
所有 Controller 中 ，所有 public 的方法 全部都返回  Response ， 并更新相关的类与方法。

```

许可证
---

[](#许可证)

MIT License

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance58

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

284d ago

### Community

Maintainers

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

---

Top Contributors

[![su0012004](https://avatars.githubusercontent.com/u/29742576?v=4)](https://github.com/su0012004 "su0012004 (1 commits)")

### Embed Badge

![Health badge](/badges/suxianjia-short-code/health.svg)

```
[![Health](https://phpackages.com/badges/suxianjia-short-code/health.svg)](https://phpackages.com/packages/suxianjia-short-code)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

82018.1k](/packages/php-junior-laravel-video-chat)[vcian/pulse-active-sessions

A Laravel Pulse card to show active user session.

11469.2k](/packages/vcian-pulse-active-sessions)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[vwo/vwo-php-sdk

VWO server side sdk

12166.4k](/packages/vwo-vwo-php-sdk)

PHPackages © 2026

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