2017 © Pedro PelĂĄez
 

library service-bus-lite

Service Bus for PHP

image

psamatt/service-bus-lite

Service Bus for PHP

  • Sunday, September 7, 2014
  • by psamatt
  • Repository
  • 1 Watchers
  • 12 Stars
  • 1,664 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 8 % Grown

The README.md

Service Bus Lite

Service Bus Lite is a PHP implementation of the popular NServiceBus in C#, you can find more information about a Service Bus on Wikipedia. This has been written with the influence of the popular ShortBus library in C#., (*1)

 Introduction

The idea of a service bus in a MVC Architecture is essentially a messaging queue that sits between the application logic (Controller) and your business logic (Domain). Upon firing requests at the message bus in the form of a Query or a Command, a matching Handler will be found and executed., (*2)

Your Handler will do your logic dependant on the type of request:, (*3)

  • Query - A query is your read layer and will request information such as fetching all users who are from a specific country. This should be a layer that talks to your persistance or cache layer and should NEVER do write actions., (*4)

  • Command - A command is your write layer and will send information to your application such as creating records in your persistance layer, writing to logs etc., (*5)

How do I get started?

Using Composer, add the following into your composer.json, (*6)

{
    "require": {
        psamatt/service-bus-lite": "dev-master"
    }
}

Now tell composer to download the bundle by running the following command:, (*7)

$ php composer.phar update psamatt/service-bus-lite, (*8)

Examples

To find how to use this library, check the examples., (*9)

Integrated into...

This library has been integrated into the following PHP Frameworks:, (*10)

If you have integrated this into an unlisted Framework, then get in touch., (*11)

The Versions

07/09 2014

dev-master

9999999-dev http://github.com/psamatt/ServiceBusLite

Service Bus for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Matt Goodwin

messaging esb servicebus nservicebus shortbus

04/09 2014

1.2

1.2.0.0 http://github.com/psamatt/ServiceBusLite

Service Bus for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Matt Goodwin

messaging esb servicebus nservicebus shortbus

04/09 2014

dev-dev

dev-dev http://github.com/psamatt/ServiceBusLite

Service Bus for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Matt Goodwin

messaging esb servicebus nservicebus shortbus

23/02 2014

1.1

1.1.0.0 http://github.com/psamatt/ServiceBusLite

Service Bus for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Matt Goodwin

messaging esb servicebus nservicebus shortbus

19/01 2014

1.0

1.0.0.0 http://github.com/psamatt/ServiceBusLite

Service Bus for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Matt Goodwin

messaging esb servicebus nservicebus shortbus