Download the PHP package brave-sir-robin/amqphp without Composer

On this page you can find all versions of the php package brave-sir-robin/amqphp. 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 amqphp

            AMQPHP Notes.
             ------------

Robin Harvey, 2011

Amqphp is a complete Amqp protocol implementation and a set of libraries for writing Amqp producers and consumers. Amqphp uses a high performance asynchronous processing model to receive messages using an event loop, and supports SSL broker connections. Another notable feature is support for persistent connetions, this can help make connections between Amqp brokers and web servers more efficient by avoiding the TCP / Amqp connection setup for each web request.

For more in-depth documentation and news, check the Wiki:

https://github.com/BraveSirRobin/amqphp/wiki

           Getting Started.
           ----------------

The easiest way to get started with Amqphp is to download one of the tagged releases, these contain all of the source code and pre-built "packages" in the build/ directory. Have a play round with the demo scripts in the demo/ folder, you'll probably have to change some of the values to point the scripts at your RabbitMQ install, this should be easy enough. If you run the demo-producer.php script this will publish a number of messages, then run the demo-consumer.php script to read those test messages back again.

                       Source Packages
                       ---------------

Because of the way the Amqp protocol is defined, we use a code generation approach with Amqphp. This means that, for example, when the RabbitMQ people introduce a new feature, you only have to regenerate the Amqp "protocol bindings" and you're ready to use the new feature (well, this isn't true in all cases, but most of the simple ones anyway!). As a result of this, Amqphp uses a Phing build system that outputs the source code library (i.e. the classes in the src/ directory) together with the protocol bindings in 2 different "flavours":

In most cases you'll want to use the nspf package, simply because there's fewer include files. The idea behind the cpf package is that this version can be used with a class loader, for example if you want to autoload the Amqphp packages. There is no functional difference between the 2 packages, they are produced from the same set of source files. For more info on how to use each kind of package, check the class-loader.php file in the demos/ directory.

To build the packages yourself you'll need to install phing first, then simply cd in to the Amqphp base dir and type phing. Note that this hasn't been test on Windows and probably won't work there, I don't have a copy of Windows to test on, so if you're able to help out by fixing this I'd be very grateful!


All versions of amqphp with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.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 brave-sir-robin/amqphp contains the following files

Loading the files please wait ....