Download the PHP package next/simple without Composer
On this page you can find all versions of the php package next/simple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package simple
轻量 • 简单 • 快速
一款支持swoole, workerman, FPM环境的组件化的轻量PHP
框架,可以用作API
开发,方便快速。框架默认安装了next/session
扩展包,如果不需要可以直接移除。
环境要求
如果使用swoole,务必安装4.6以上版本,如果使用workerman, 务必使用4.0以上版本
使用
安装
启动服务
FPM模式,将请求指向public/index.php即可
区别
使用swoole/workerman/amp/react等服务支持注解、AOP等特性, FPM模式可以直接卸载AOP包。
简单入门
路由定义
swoole/swoole-co/workerman/amp/react下配置了AOP就可以使用注解定义
如上请求0.0.0.0:8989
会指向index
方法,控制器方法支持依赖注入,如需当前请求示例,则请求参数名必须是request
,其他路由参数均会被注入,控制器方法需要返回ResponseInterface
实例。
FPM或内置服务下不能使用注解
路由定义在App\Http\Kernel
类的map
方法中定义
其他文档
其他文档参考相应包的README
参与开发
欢迎有兴趣的朋友参与开发
致谢
感谢PHP最好用IDE: PHPStorm
All versions of simple with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
monolog/monolog Version ^3.6
next/aop Version ^0.1
next/cache Version ^0.1
next/config Version ^0.1
next/di Version ^0.1
next/event Version ^0.1
next/foundation Version ^0.1.0
next/http-server Version ^0.1
next/session Version ^0.1
next/var-dumper Version ^0.1
vlucas/phpdotenv Version ^5.6
monolog/monolog Version ^3.6
next/aop Version ^0.1
next/cache Version ^0.1
next/config Version ^0.1
next/di Version ^0.1
next/event Version ^0.1
next/foundation Version ^0.1.0
next/http-server Version ^0.1
next/session Version ^0.1
next/var-dumper Version ^0.1
vlucas/phpdotenv Version ^5.6
The package next/simple contains the following files
Loading the files please wait ....