Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
A common repository for external libraries has several advantages. For example:
- The same library installation can be shared by more than one module.
- The same library installation can be shared by more than one site.
- The process to upgrade a module that requires an external library is easy. Just replace the module folder with the new one. No need to move the library folder out and in.
- Central installation instructions (widget) to help users figure out how to install.
- Library classification.
- Handling of dependencies between library.
- Library version detection.
- Runtime control of library availability.
Comments
Comment #1
markus_petrux commentedA common repository for external libraries has several advantages. For example:
- The same library installation can be shared by more than one module.
- The same library installation can be shared by more than one site.
- The process to upgrade a module that requires an external library is easy. Just replace the module folder with the new one. No need to move the library folder out and in.
Comment #2
sun- Central installation instructions (widget) to help users figure out how to install.
- Library classification.
- Handling of dependencies between library.
- Library version detection.
- Runtime control of library availability.
Comment #3
sillygwailo