How does the installation of packages of the same vendor in the composer work?

0

I have a question, let's say I have two libraries (different packages) that can be installed via composer, name in the composer.json file, respectively:

  • Company / Financial
  • Company / teams

The first one has autoload:

"autoload": {
    "psr-4": {
        "financeiro\": "empresa/financeiro/"
        }
}

The other autoload has:

"autoload": {
    "psr-4": {
        "equipe\": "empresa/equipe/"
        }
}

If I apply a composer install company / financial and then do the same with team , both will be below / vendor / company? And will autoload be merged into a single json file?

    
asked by anonymous 14.11.2016 / 14:24

0 answers