Download the PHP package ahmedessam/lararabbit without Composer

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

LaraRabbit: Elegant RabbitMQ integration for Laravel

Latest Version on Packagist Total Downloads License

LaraRabbit is a comprehensive, production-ready RabbitMQ integration package for Laravel designed specifically for microservices architecture. It provides an elegant abstraction over the PHP-AMQPLIB library with resilience patterns, performance optimizations, and developer-friendly features.

Features

Installation

The package will automatically register its service provider if you're using Laravel's package auto-discovery.

Configuration

Publish the configuration files:

This will create:

Basic Usage

Publishing Messages

Consuming Messages

Using Predefined Queues

Using Dead Letter Queues

CLI Commands

List all queues:

Purge a queue:

Advanced Usage

Message Validation

Serialization Formats

Connection Management

The package handles connections efficiently, but you can manually manage them:

Error Handling and Reconnection

LaraRabbit provides robust error handling and automatic reconnection capabilities:

For more details on error handling, see ERROR_HANDLING.md.

Testing

The package includes a PHPUnit test suite. You can run the tests with:

You can also run individual test suites:

Note: Some tests may fail if a RabbitMQ server is not available. This is expected behavior as certain tests require an actual connection to RabbitMQ. These tests are skipped by default in CI environments.

Documentation

LaraRabbit includes comprehensive documentation to help you get the most out of the package:

License

This package is open-sourced software licensed under the MIT license.

Security

Security Recommendations

When using LaraRabbit in production environments, consider these security recommendations:

  1. Use SSL/TLS: Always enable the SSL connection to RabbitMQ in production environments by setting RABBITMQ_SSL=true and providing proper certificates.

  2. Custom Credentials: Never use the default guest/guest credentials in production. Create a dedicated user with appropriate permissions.

  3. Message Validation: Always use schema validation for messages to prevent malformed data.

  4. Secure Vhost: Use a dedicated virtual host for your application and limit access to it.

  5. Network Segmentation: Place RabbitMQ behind a firewall and only allow connections from trusted sources.

Reporting Security Vulnerabilities

If you discover a security vulnerability within LaraRabbit, please send an email to [email protected]. All security vulnerabilities will be promptly addressed.

Contributing

Please see CONTRIBUTING for details on how to contribute to this package.

Credits


All versions of lararabbit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
php-amqplib/php-amqplib Version ^3.5
rybakit/msgpack Version ^0.9
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 ahmedessam/lararabbit contains the following files

Loading the files please wait ....