I wonder if there is a way to get the composer.json
version from a controller with Symfony. My composer.json
looks like:
{
"name": "myProject",
"version": "0.0.0",
"description": "myProject description",
"license": "AGPL-3.0",
"type": "project",
"require": {
"php": "^7.1.3",
...
}
}
I can't find any reference to this.
PS: I'm using Symfony 4.