Integration Messaging
does not base on any other framework, and thanks to that can be connected to any.
Currently available implementation is for ready to use for Symfony
.
"require": {
"simplycodedsoftware/integration-messaging-symfony": "^0.4.0"
}
It's highly recommended to use integration messaging with Symfony
configured with automatic autowire.
This really simplifiy working with Integration Messaging
.
If you're using symfony 3
, activate bundle in your Kernel class.
Symfony 4
activate bundle in config/bundles.php
[
ICTWorks\Matching\Infrastructure\Framework\MatchingBundle::class => ['all' => true]
]
Huge part of the high level framework's code is based on Annotations
to simplify client's API.
If you having problem loading the annotations or have not registered AnnotationRegistry
, you need to do it
in order to work with the framework.
You should add it to your console.php
and app.php
$loader = require __DIR__.'/../vendor/autoload.php';
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
If you want to play around with the concept you may try skeleton project with Symfony 4 and Integration Messaging configured.
Just clone skeleton-integration-messaging and follow README instructions