uniondrug / framework
Uniondrug framework. A mini framework based on Phalcon
Installs: 8 935
Dependents: 30
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=7.0
- ext-phalcon: ^3.2.0
- symfony/dotenv: ^4.0
- 2.x-dev
- 2.16.4
- 2.16.2
- 2.16.1
- 2.16.0
- 2.15.3
- 2.15.2
- 2.15.0
- 2.14.2
- 2.14.1
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.3
- 2.11.2
- 2.11.1
- 2.11.0
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.8
- 2.8.7
- 2.8.6
- 2.8.5
- 2.8.4
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
- 1.23
- 1.22
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
- 1.11
- 1.10
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
- 1.1
- 1.0.0
- dev-develop
- dev-master
This package is auto-updated.
Last update: 2024-11-12 11:45:45 UTC
README
- 路由
- 目录结构
路由
支持默认路由和注解路由,支持自定义路由。
开启注解路由:
config/app.php
增加配置项 userAnnotationRouter
并且设置为 true
即可。注解路由打开后,默认路由失效。
自定义路由在:
config/routes.php
中定义。
目录结构
框架级
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