#framework 地址
https://github.com/wobase/pworks
#PHP版本检查 要求PHP 5.3+
查看版本命令 php -v
#PHP扩展检查 要求有 *DOM *APCu *mbstring *Mcrypt
查看扩展命令 php -m
#单元测试框架PHPUnit 要求 4.8+
#修改php.ini include_path路径 E:\phpstudy\WWW\pworks\pear下有pworks文件
; Windows: "\path1;\path2"
include_path = ".;E:\phpstudy\WWW\pworks\pear"
#重新用pworks.20170524.tar.gz的pworks覆盖 pear下的pworks
#修改pworks.xml <action type="rest" url="/ticket" method="post" id="ticket.Create"/> 的method 为get
<action type="rest" url="/ticket" method="get" id="ticket.Create"/>
#demo目录下新建重写规则重写规则
# 开启 rewrite 功能
Options +FollowSymlinks
RewriteEngine on
# 重写规则
Read
RewriteRule ^ticket$ index\.php\?action=restful&url=$1&method=%{REQUEST_METHOD} [QSA,L]
works's Introduction
works's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.