Download the PHP package litgroup/event-loop-bundle without Composer

On this page you can find all versions of the php package litgroup/event-loop-bundle. 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 event-loop-bundle

LitGroupEventLoopBundle

🚫 (This project is no longer maintained.)

This bundle integrates react/event-loop library into the Symfony 2.

Latest Stable Version Total Downloads Latest Unstable Version License

Master branch status: Build Status

Installation

Use a Composer to install LitGroupEventLoopBundle.

Do not forget to register the bundle in the AppKernel:

Configuration

No configuration needed this time.

Basic usage

Using of an event loop

Bundle provides basics loop as a service, named litgroup_event_loop. You can use it for injection or directly in your application.

Example:

Periodic Services

Periodic service — service, defined in the dependency injection container, marked by tag litgroup_event_loop.periodic. These services will be called periodically when loop is running.

Tag has two required attributes:

Interval can be set as seconds represented by double value or as string with time units (10ms, 1m). Interval cannot be less then 1ms.

String representation supports four units:

Units cannot be mixed.

Example: 10s, 15m, 1.5h

Periodic service definition's example

Service class:

DIC configuration:

Now, when event loop will be running PeriodicService::tick() will be called with period in 1 second.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

See details in LICENSE file.


All versions of event-loop-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
symfony/framework-bundle Version ~2.3
react/event-loop Version 0.4.*
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 litgroup/event-loop-bundle contains the following files

Loading the files please wait ....