Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesusslim/partini
Php framework used Inject.基于pinject的phpweb框架
https://github.com/jesusslim/partini
Last synced: about 1 month ago
JSON representation
Php framework used Inject.基于pinject的phpweb框架
- Host: GitHub
- URL: https://github.com/jesusslim/partini
- Owner: jesusslim
- License: mit
- Created: 2016-07-29T09:24:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T02:57:42.000Z (almost 8 years ago)
- Last Synced: 2024-04-21T04:05:42.019Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# partini
a php web application framework used pinject.一个基于[pinject](https://github.com/jesusslim/Pinject)实现的phpweb框架
## usage
使用composer安装
composer require jesussim/partini
参考 [example](https://github.com/jesusslim/partini_example)## .
基于pinject,php依赖注入实现。思想借鉴golang的injector和martini框架,以及laravel。
此框架只是做了最简单的注入与路由、中间件等实现、以及基本的缓存、DB等实现,不希望过于笨重,做到轻量级,在pinject依赖注入核心思想的基础上自由发挥实现web框架。仅供参考,抛砖引玉。
## v0.6
路由group
封装http request 与 response 为 Context
session middleware
autoload