Download the PHP package vocento/microservice-bundle without Composer
On this page you can find all versions of the php package vocento/microservice-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vocento/microservice-bundle
More information about vocento/microservice-bundle
Files in vocento/microservice-bundle
Package microservice-bundle
Short Description Base bundle for Microservice projects
License proprietary
Homepage https://github.com/Vocento/microservice-bundle
Informations about the package microservice-bundle
MicroserviceBundle
This bundle contains the base for the services at Vocento and how the versioning and other resources of the service should work.
Installation
To install the bundle, include the package as a requirement in your composer.json
file.
Once the bundle is installed, you have to configure it.
Configure the Bundle
Add the bundle to the config/bundles.php
file.
Add the bundle configuration to config/packages/microservice.yaml
file
Add the bundle routing configuration to config/routes/microservice.yaml
file
This configuration will expose three endpoints related with the service in order to enable a way to auto-discover the service, the available versions and the current version.
Service endpoints
Request GET /service
Request GET /service/name.json
Request
GET /service/versions.json
Request GET /service/versions/current.json
All versions of microservice-bundle with dependencies
ext-json Version *
beberlei/assert Version ^2.6 || ^3.0
composer/semver Version ^1.0 || ^2.0 || ^3.0
monolog/monolog Version ^1.22 || ^2.0 || ^3.0
symfony/framework-bundle Version ^4.4 || ^5.4 || ^6.4
vocento/request-id Version ^1.0