I am trying to use composer.json in my custom application to load some external libraries, for example html2text/html2text
to the composer.json file in the root directory of my application.
Then I executed
in that same root directory and html2text was installed in the vendor directory of my application.
But when I tried to use html2text/html2text in my application the system told me that it could not find html2text/html2text. To solve this I added:
to my code.
Then it worked.
Is there a way to trigger the autoloading without adding the line above?
Thank you and best regards