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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package simple

Max

轻量 • 简单 • 快速

一款支持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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package next/simple contains the following files

Loading the files please wait ....