Download the PHP package stanislav-web/zf2-websocket-server-factory without Composer

On this page you can find all versions of the php package stanislav-web/zf2-websocket-server-factory. 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 zf2-websocket-server-factory

ZF2 PHP WebSocket Server Factory v2.2.1 (Extended) Latest Stable Version

Alt text

Protocol WebSocket (standard RFC 6455) is designed to solve any problems and the removal of restrictions communication between browser and server.It allows you to transfer any data to any domain, safe and almost without unnecessary network traffic.

The main advantages of this module is that you can create a variety of applications based on Zend Framework 2, where it is necessary to implement persistent connections. Thanks to one interface, you can create a variety of applications and run them on the same server. You can organize a chat, monitor live site visit, you can create real-time statistics and save it to DB (MySQL, Mongo..etc), you can organize the postal service in the likeness of Google. Yes, anything!

Requirements


Changes


v2.2.1 [Request from AdamiecRadek]

v2.1.1

v2.0

v1.3

v1.2

v1.1.2

v1.1

vendor\ZF2\library\Zend\Mvc\View\Console\RouteNotFoundStrategy.php 381 and replace line by

It might be fixed until not fix in the next update. You're always can ask me for this module if you have write me issue

Installation and Running Server :

  1. First update your dependencies through composer. Then run to update dependency and update autoloader

  2. That needs to be done is adding it to your application's list of active modules. Add module "WebSockets" in your application.config.php

  3. Perform module configuration file module.config.php

  4. Go to your shell command-line interface and type (running server as background): php -q index.php websocket open <app> (app like as your client application)

  5. Setup your Client-side script's to communicating with the server .. ws://host:port/websocket/open/

How can i do the Application ?


New application you can do according to the rules interface

As an example, you can see the implementation "Chat"

then call server from your cli controller


In order to start using the module clone the repo in your vendor directory or add it as a submodule if you're already using git for your project: git clone https://github.com/stanislav-web/ZF2-PHP-WebSocket-Server-Factory.git vendor/WebSockets or git submodule add git clone https://github.com/stanislav-web/ZF2-PHP-WebSocket-Server-Factory.git vendor/WebSockets

The module will also be available as a Composer package soon.

Libraries used

Alt text


All versions of zf2-websocket-server-factory with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
zendframework/zendframework Version >=2.4.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 stanislav-web/zf2-websocket-server-factory contains the following files

Loading the files please wait ....