Download the PHP package gnugat/query-bus-bundle without Composer
On this page you can find all versions of the php package gnugat/query-bus-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gnugat/query-bus-bundle
More information about gnugat/query-bus-bundle
Files in gnugat/query-bus-bundle
Package query-bus-bundle
Short Description QueryBus integration in Symfony
License MIT
Homepage https://github.com/gnugat/query-bus-bundle
Informations about the package query-bus-bundle
QueryBus Bundle
QueryBus integration in Symfony.
Installation
QueryBusBundle can be installed using Composer:
composer require "gnugat/query-bus-bundle:~2.0"
We then need to register it in our application:
Usage example
Let's take the following entity:
In order to get one article by ID using QueryBundle, we have first to create an Interrogatory Message:
We then have to create a QueryMatcher
:
The next step is to define it as a service:
Note: Thanks to the
gnugat_query_bus.query_matcher
tag, theGetArticleMatcher
will be registered in the maingnugat_query_bus.query_bus
service.
Finally we can request the article:
Further documentation
You can see the current and past versions using one of the following:
- the
git tag
command - the releases page on Github
- the file listing the changes between versions
You can find more documentation at the following links:
- copyright and MIT license
- versioning and branching models
- contribution instructions
All versions of query-bus-bundle with dependencies
symfony/http-kernel Version ~2.3
symfony/dependency-injection Version ~2.3
symfony/config Version ~2.3
symfony/yaml Version ~2.3