PHPackages                             bclfp/skeleton - 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. bclfp/skeleton

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

bclfp/skeleton
==============

04

Since Sep 30Pushed 5y agoCompare

[ Source](https://github.com/weipo0105/skeleton)[ Packagist](https://packagist.org/packages/bclfp/skeleton)[ RSS](/packages/bclfp-skeleton/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

skeleton
--------

[](#skeleton)

### 介绍

[](#介绍)

[skeleton](https://github.com/anziguoer/skeleton) 是一个使用 Hyperf 框架的框架应用程序。包含了基本的系统基础功能， 权限设置验证，角色管理，用户管理， 菜单管理等。

[skeleton](https://github.com/anziguoer/skeleton) 项目只有后端代码， 所有的数据都是基于接口请求。所以需要结合前后端分离项目 [skeleton-admin](https://github.com/anziguoer/skeleton-admin) ，

### 要求

[](#要求)

Hyperf 对系统环境有一定要求，只能在 Linux 和 Mac 环境下运行，但由于 Docker 虚拟化技术的发展，Docker for Windows 也可以作为 Windows 下的运行环境。 如果要使用 docker 部署此程序， 请参考 hyperf docker 部署教程。

#### 环境依赖

[](#环境依赖)

```
PHP >= 7.2
Swoole PHP extension >= 4.4，(并关闭短标记)
OpenSSL PHP extension
JSON PHP extension
PDO PHP extension （如果要用到mysql， 需要启用改扩展）
Redis PHP extension （如果要用到redis， 需要启用改扩展）
Protobuf PHP extension （如果要用到gRPC， 需要启用改扩展）
Installation using Composer 安装composer

```

#### git 拉取代码

[](#git-拉取代码)

```
    git clone https://github.com/anziguoer/skeleton.git path/to/install

```

#### 安装依赖

[](#安装依赖)

```
    composer install

```

#### 配置环境

[](#配置环境)

```
[项目配置]
APP_NAME=skeleton
APP_ENV=dev
APP_URL=http://localhost:9501

[mysql 配置]
DB_DRIVER=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=skeleton
DB_USERNAME=root
DB_PASSWORD=root
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
DB_PREFIX=

[redis配置]
REDIS_HOST=localhost
REDIS_AUTH=(null)
REDIS_PORT=6379
REDIS_DB=0

# 默认管理员的账户ID
ADMINISTRATOR_ID=1

[jwt token key]
SIMPLE_JWT_SECRET=

```

#### 数据库

[](#数据库)

导入 `/storage/databases/` 下面的所有 sql 文件

#### 或者使用安装命令初始化数据库

[](#或者使用安装命令初始化数据库)

```
    php bin/hyperf sys:install

```

#### 启动项目

[](#启动项目)

```
cd path/to/install

php bin/hyperf.php start

```

#### 初始账户密码

[](#初始账户密码)

```
账户: admin@admin.com
密码: admin123

```

### 骨架基本功能

[](#骨架基本功能)

```
[*] 用户管理
[*] 权限管理
[*] 菜单管理
[*] 角色管理
[*] 中间件 （权限、用户认证）

```

### QQ 交流群： 1031212459

[](#qq-交流群-1031212459)

### 如果你觉得这个项目帮助到了你，你可以帮作者买一杯果汁表示鼓励 🍹

[](#如果你觉得这个项目帮助到了你你可以帮作者买一杯果汁表示鼓励-)

[![alipay](./screenshot/alipay.png)](./screenshot/alipay.png)[![alipay](./screenshot/wechat_pay.png)](./screenshot/wechat_pay.png)

### QQ 交流： 1031212459

[](#qq-交流-1031212459)

### 微信交流：加我请备注说明

[](#微信交流加我请备注说明)

[![wechat](./screenshot/friends.png)](./screenshot/friends.png)

Copyright (c) 2020-anziguoer

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

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/98d014075fb0788e28c03eadc97e0bb2a91c45dd95989a055cae567adc7005fa?d=identicon)[weipo0105](/maintainers/weipo0105)

---

Top Contributors

[![demo007x](https://avatars.githubusercontent.com/u/6418340?v=4)](https://github.com/demo007x "demo007x (11 commits)")

### Embed Badge

![Health badge](/badges/bclfp-skeleton/health.svg)

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

###  Alternatives

[easyrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

62231.5M42](/packages/easyrdf-easyrdf)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[paquettg/string-encode

Facilitating the process of altering string encoding in PHP.

698.7M43](/packages/paquettg-string-encode)[functional-php/fantasy-land

Specification for interoperability of common algebraic structures in PHP

396.2M5](/packages/functional-php-fantasy-land)[psalm/phar

Composer-based Psalm Phar

265.4M191](/packages/psalm-phar)[jbtronics/settings-bundle

A symfony bundle to easily create typesafe, user-configurable settings for symfony applications

9546.7k2](/packages/jbtronics-settings-bundle)

PHPackages © 2026

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