Download the PHP package zendframework/zend-expressive-swoole without Composer

On this page you can find all versions of the php package zendframework/zend-expressive-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 zend-expressive-swoole

zend-expressive-swoole

Repository abandoned 2019-12-31

This repository has moved to mezzio/mezzio-swoole.

Build Status Coverage Status

This library provides the support of Swoole into an Expressive application. This means you can execute your Expressive application using Swoole directly from the command line.

Installation

Run the following to install this library:

Configuration

After installing zend-expressive-swoole, you will need to first enable the component, and then optionally configure it.

We recommend adding a new configuration file to your autoload directory, config/autoload/swoole.local.php. To begin with, use the following contents:

The above will setup the Swoole integration for your application.

By default, Swoole executes the HTTP server with host 127.0.0.1 on port 8080. You can change these values via configuration. Assuming you have the above, modify it to read as follows:

Expressive skeleton 3.1.0 and later

If you have built your application on the 3.1.0 or later version of the Expressive skeleton, you do not need to instantiate and invoke the package's ConfigProvider, as the skeleton supports it out of the box.

You will only need to provide any additional configuration of the HTTP server.

Execute

Once you have performed the configuration steps as outlined above, you can run an Expressive application with Swoole using the following command:

Call the command without arguments to get a list of available commands, and use the help meta-argument to get help on individual commands:

Documentation

Browse the documentation online at https://docs.zendframework.com/zend-expressive-swoole/

Support


All versions of zend-expressive-swoole with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
ext-swoole Version *
dflydev/fig-cookies Version ^1.0 || ^2.0
ocramius/package-versions Version ^1.3
psr/container Version ^1.0
psr/http-message Version ^1.0
psr/http-message-implementation Version ^1.0
psr/http-server-handler Version ^1.0
psr/log Version ^1.0
symfony/console Version ^4.1 || ^5.0
zendframework/zend-diactoros Version ^1.8 || ^2.0
zendframework/zend-expressive Version ^3.0.2
zendframework/zend-httphandlerrunner Version ^1.0.1
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 zendframework/zend-expressive-swoole contains the following files

Loading the files please wait ....