Download the PHP package deepziyu/yii2-swoole without Composer

On this page you can find all versions of the php package deepziyu/yii2-swoole. 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 yii2-swoole

yii2-swoole

为赋予 Yii2 框架协程异步能力而生。

后期开发会依赖 Swoft 框架 去实现功能,相信 Swoft 会是下一代优秀的框架。

此插件基于 swoole (v2.0) 底层实现的协程,改造 Yii2 的核心代码,使开发者无感知,以及在不改动业务代码的情况下,用上 swoole 的异步IO能力。

特性

安装

环境要求

  1. hiredis
  2. composer
  3. PHP7.X
  4. Swoole2.1 且开启协程和异步 Redis

swoole install

composer install

配置

你可以参考 这个示例项目

新建一个启动文件即可。

启动文件清晰的展现出本插件的工作、流程原理。动手写这个文件有助于你更加理解本插件。

swoole.php 示例如下:

启动

Usage HttpClient

HTTP 客户端的使用请参考 Swotf 文档

TODO

已知Bug

已解决Bug

链接

gitee 仓库

github 仓库

Chat && Help

Swoft 框架QQ交流群:548173319


All versions of yii2-swoole with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.13
yiisoft/yii2 Version ~2.0.9
yiisoft/yii2-redis Version ~2.0.0
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 deepziyu/yii2-swoole contains the following files

Loading the files please wait ....