imi are based on PHP Association process application development framework that supports HttpApi, WebSocket, TCP, UDP application development.
Powered by providing Swoole, Swoole has a permanent memory, coroutines non-blocking IO and other features.
PSR frame compliance standards, providing the AOP, annotations, connection pooling, managing the request context, the ORM model and other common components.
imi model supports the definition of the relationship, CRUD a shuttle!
Millisecond annotations and hot update the code , just to let you in the development of a shuttle, no different under development experience and fpm, save to refresh immediately see the effect.
Unlike other micro-focus areas of services Swoole framework, imi focus on single application development. The reason is simple: most companies do not need to micro-service, single application is enough.
imi Framework version v0.0.1 starting on June 21, 2018
Update Log
imi became the first to use the license Swoole magnolia loose framework, grounds-Run the modified open source license are:
First, loose Mulan is China's first own open source license. Mulan is more liberal than liberal use of the Apache V2 before imi, more realistic. Finally, even if others infringement, you want the high cost of rights through legal means, basically nothing. So choose what protocols are the same, support domestic!
Increase
-
Open source protocol switching from Apache V2 as magnolia loose License (PSL Mulan v1) , more freedom!
-
Add custom test cases SessionId of Acquire (thanks @loyating )
-
View annotation template to use the current default method name space-time
-
New Imi \ Util \ File :: isEmptyDir () method to determine whether the directory is empty
-
New InEnum validation annotations, used to verify whether there is value in the enumeration list
-
Request object increase request (), hasRequest () method, request data comprising get / post / cookie
-
New validation class test case
-
Automatic verification test new comment
repair
-
Repair ConnectContextRedis lead to problems blocking the process
-
WebSocket handshake can not fix the problem after a warm restart
-
Repair using vendor / bin / imi can not start the project issues
optimization
-
IMI will all uppercase to lowercase text description imi
-
Increasing the test request logging HttpServer
-
After the test request WS YurunHttp Handler switched Curl
-
Reconstruction ViewHandler
-
Increase test script configuration and operation instructions, test case MySQL, Redis configuration, can be configured by the system environment variables
start using
Creating Http Server project:composer create-project imiphp/project-http
Create a WebSocket Server project:composer create-project imiphp/project-websocket
Create a TCP Server project:composer create-project imiphp/project-tcp
Creating UDP Server project:composer create-project imiphp/project-udp
contact us
Github feedback: https://github.com/Yurunsoft/IMI/issues
Cloud Warehouse code: https://gitee.com/yurunsoft/IMI
Open Source China Q: https://www.oschina.net/question