Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vdm Version Bundle Laravel Package

3slab/vdm-version-bundle

View on GitHub
Deep Wiki
Context7

VdmVersionBundle

Build Status

This bundle provides a simple and standardized way to expose application version in a route.

Installation

composer require 3slab/vdm-version-bundle

And load the routes in routing.yml :

vdm_version:
  resource: "@VdmVersionBundle/Resources/config/routing.yml"
  prefix:   /

Configuration

Put your configuration in config/packages/vdm_version.yaml file. This is the default :

vdm_version:
  secret: ~
  path: /version
  versions: ~
Parameter Default Description
vdm_version.secret null if set, you need to provide the secret as a GET parameter secret or in the
header VDM-Version-Secret to get the detailed result of the versions in the response body.
vdm_version.path /version Change the path of the version endpoint.
vdm_version.versions see below Configure the versions of the different services of your app

You configure the versions of the different services of your app by providing an array where the keys are the services names and the values the versions names.

vdm_version:
  versions:
    frontend: '1.0'
    backend: '1.1'

When querying the /version endpoint, it returns the following response :

{"frontend":"1.0","backend":"1.1"}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky