Download the PHP package knplabs/minibus without Composer
On this page you can find all versions of the php package knplabs/minibus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download knplabs/minibus
More information about knplabs/minibus
Files in knplabs/minibus
Package minibus
Short Description Minibus is a simple implementation of a workflow bus.
License WTFPL
Informations about the package minibus
Minibus

Hey welcome to you traveler! You are looking for a way of traveling through your software easily? Do not search anymore, you've just find the place!
Ladies and gentleman, let me present you the famous, the incredible, the revolutionary PHP Minibus !
The goal
If you are like me, you are probably coding software solutions. In many software architectures the story starts with an Entry point (cf: a controller in an MVC application). But if you think about this Entry Point you probably agree with me that it's not only one point but, in many cases, a mix of many components that interact between them!
In order to avoid what I call SMFB architecture (understand: Super Mega Fuc**** Brain, as the Controller) I present you Minibus!
The principle is simple. In order to handle an application Entry Point we need three components:
- A
Minibus
, which contains various passengers (understand data). - Some
Stations
, that can handle a minibus at some point (replace the controller). - A bus
Line
that containsStations
and can guide aMinibus
. - Optionaly a
Terminus
that can handle how to display the passengers.
Cool! Let's rock!
A basic example would be somethong like this:
Once you have some stations, you need to create a Minibus
and a Line
:
Go further
This is some other documentations that explain everything in details:
- Basic usage
- Set up terminus
- Deal with events
- Validate your minibus
- Configure your stations and terminus
All versions of minibus with dependencies
symfony/event-dispatcher Version ~2.4
symfony/options-resolver Version ~2.4
symfony/config Version ~2.4