Download the PHP package wuwx/laravel-plus-amqp without Composer

On this page you can find all versions of the php package wuwx/laravel-plus-amqp. 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 laravel-plus-amqp

laravel-plus-amqp

Laravel AMQP 扩展,基于 PHP ext-amqp 提供连接、交换机、队列的简单管理与发布/消费封装。

特性

环境要求

安装

服务提供者

Laravel 5.5+ 会自动发现服务提供者:

Laravel 5.4 及以下版本需手动注册:

发布配置

发布后配置文件位于:config/amqp.php。

快速上手

  1. 安装扩展并确保 ext-amqp 可用
  2. 发布配置并设置连接信息
  3. 使用 Facade 发布/消费消息

示例环境变量

配置说明

默认配置来自 config/amqp.php:

使用方式

包内通过容器单例 amqp 提供管理器,也提供 Facade:Wuwx\LaravelPlusAmqp\AmqpFacade。

发布消息

消费消息

publish 与 consume 的参数会直接透传给 AMQPExchange::publish 与 AMQPQueue::consume, 具体参数请参考 ext-amqp 文档。

使用指定连接/交换机/队列

项目结构

开发与测试


All versions of laravel-plus-amqp with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^5.6|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.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 wuwx/laravel-plus-amqp contains the following files

Loading the files please wait ...