Often I want to add a changelog or a version to my website. I use the version from the composer.json file and the Changelog from the Changelog.md file. With this bundle I realized this with a VersionService and Controller.
To use the Controller, you have to import the routes of this bundle in your application:
# config/routes/tdc_toolbox.yaml
tdc_toolbox_routes:
resource: "@TdcToolboxBundle/config/routes.php"
type: php
prefix: /toolboxThe VersionService is used to serve the version and the changelog in a cached way.