I have an example of JSON :
{
"name": "xxxxxx",
"description": "xxxxx",
"type": "beta",
"license": "MITS",
"authors":
[
{
"name": "Leonardo Vilarinho",
"email": "[email protected]"
}
],
"require":
{
"php": ">=5.5.12",
"twig/twig" : "*",
"respect/validation" : "*"
},
"require-dev" :
{
"phpunit/phpunit" : "*"
},
"config":
{
"vendor-dir": "libs"
}
}
I'll probably have more libs
in my project, want to know if there's any way I can disable and enable these libs
through PHP? If so, how can I do this? (I'm a layman when it comes to composer
, so I can not even try anything, the searches did not lead me to anything).
Even though they are downloaded in the project, they are not loaded into autoload
of composer
.