• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Composer: Understanding

omexlu

Regular Pleskian
Hello,

I have problems understanding the composer system (because never used it).

Let's say I want to install the following package:
vlucas/valitron

All I have to do here is this:
  • Put the composer.json from github in httpdocs?
  • Scan via the Plesk-GUI and install or update?
  • Then in most cases an autoload.php will be created which I only have to integrate into my projects.
  1. BUT what if I want to install a second composer.json now?
  2. I can't put this in the httpdocs anymore?
  3. A second autoload.php, how this works?
  4. Or how should composer.json be classified?
I don't understand the whole process and would be happy if someone could enlighten me :)

Thanks in advance.
 
Back
Top