Download the PHP package kpacha/reactive-silex without Composer

On this page you can find all versions of the php package kpacha/reactive-silex. 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 reactive-silex

reactive-silex

Mixup silex and react (with a little help from espresso)

Instal

The recommended way to install kpacha/reactive-silex is through composer.

{
    "require": {
        "kpacha/reactive-silex": "~0.1.0"
    }
}

Usage

Check out the bin/reactive.php example and run it with

$ php bin/reactive.php

There is a built-in console-based script

$ bin/run reactive --help
Usage:
 reactive [port]

Arguments:
 port                   (default: 1337)

Options:
 --help (-h)           Display this help message.
 --quiet (-q)          Do not output any message.
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version.
 --ansi                Force ANSI output.
 --no-ansi             Disable ANSI output.
 --no-interaction (-n) Do not ask any interactive question.

$ bin/run reactive -vv 8080
Server running at http://127.0.0.1:8080
Memory: 1280 KiB
Memory: 1280 KiB

Scalability

React launches a single-process share-nothing server, so you can instance several stacks in a single machine, depending on the number of avilable cores, before scale-out adding more hardware. The cpu and memory consumption will remain almost lineal. Balance your load between your stacks and everything will be run like a charm!

Also, remember to bind every stack to a different port or you will face some nice port collision messages!

Documentation

TODO

Bitdeli Badge


All versions of reactive-silex with dependencies

PHP Build Version
Package Version
Requires react/react Version 0.3.3
silex/silex Version ~1.0
symfony/console Version ~2.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 kpacha/reactive-silex contains the following files

Loading the files please wait ...