PHPackages                             dcr/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. dcr/framework

ActiveProject[Framework](/categories/framework)

dcr/framework
=============

another framework

1.1.13(1y ago)461MITPHPPHP &gt;=8.3.0

Since Feb 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/guanhui07/dcr)[ Packagist](https://packagist.org/packages/dcr/framework)[ Docs](https://symfony.com)[ RSS](/packages/dcr-framework/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (40)Versions (15)Used By (0)

dcr框架 - 整合各个包，然后模仿laravel 骨架 实现的框架
==================================

[](#dcr框架---整合各个包然后模仿laravel-骨架-实现的框架)

- 集成 laravel orm
- restful route
- predis
- guzzle
- monolog
- rabbitmq, workerman websocket
- container
- facade
- console
- migrate
- event
- crontab
- middleware 中间件注解
- validate
- monolog
- collection carbon
- dotenv
- PHP8特性attributes以及反射实现路由注解

### 安装

[](#安装)

```
composer create-project dcr/framework skeleton

```

http: 生产不推荐，推荐使用nginx

```
php -S 127.0.0.1:8001 -t ./public

```

websocket: 基础于workerman gateway

```
php ./bin/startWs.php start

```

crontab: 基础于workerman crontab

```
php ./bin/crontab.php start

```

[更多文档](https://github.com/guanhui07/dcr/tree/master/doc)
--------------------------------------------------------

[](#更多文档)

command 应用

```
php artisan test

```

路由注解 和 中间件注解 以及Inject注解 使用
--------------------------

[](#路由注解-和-中间件注解-以及inject注解--使用)

```
