PHPackages                             wallsfantasy/service-bus-laravel-package - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. wallsfantasy/service-bus-laravel-package

ActiveLibrary[Queues &amp; Workers](/categories/queues)

wallsfantasy/service-bus-laravel-package
========================================

A package for leveraging the Prooph Service Bus in a Laravel project

v1.0.1(7y ago)026BSD-3-ClausePHPPHP ^7.1

Since Mar 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/wallsfantasy/service-bus-laravel-package)[ Packagist](https://packagist.org/packages/wallsfantasy/service-bus-laravel-package)[ RSS](/packages/wallsfantasy-service-bus-laravel-package/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Laravel Service Bus Package
===========================

[](#laravel-service-bus-package)

This package supports the use of the prooph service buses inside of a Laravel application.

Features
--------

[](#features)

- Support default buses that are bound to the classes
- Support unlimited named buses
- Add loggers to all buses
- Automatically resolve handlers
- Collect profiling data in debug mode
- Async switch

Installation
------------

[](#installation)

`composer require camuthig/service-bus-laravel-package`

Setup
-----

[](#setup)

### Publish the Config

[](#publish-the-config)

`php artisan vendor:publish`

### Include the Provider

[](#include-the-provider)

The package will automatically be discovered by Laravel when installed, no changes to include the service provider are needed.

Usage
-----

[](#usage)

### Getting Default Buses

[](#getting-default-buses)

The default instance of each bus type can be retrieved in two ways:

```
