Jump to content

how to add new library to /vendor/


jogorek

Recommended Posts

Instead of placing this in the vendor/ directory, try creating an includes/ directory in your module folder and pulling it from there.

That might work better for you as sometimes adding non bundled vendor dependencies in the 'vendor/' directory can have ill effects on the system especially during upgrades as it will overwrite the core files.

Another route is to as well place a vendor/ directory within the add-on module and then place your dependency requirements in the composer file and then autoload that from the {modulename}.php main file.

Please note, this is generally not something we support and it could break your install

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated