Updated lib/README.md for new common folder.

This commit is contained in:
Pedro Silva 2023-08-16 15:39:57 +01:00
parent 12e578b001
commit 9c94d5a536
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3

View file

@ -1,5 +1,10 @@
## packages
The packages that are likely to cause conflicts with other plugins (by loading multiple incompatible versions).
Their namespaces are isolated by [Mozart](https://github.com/coenjacobs/mozart).
Currently, the packages are simply added in the repo to avoid making the build process more complex (Mozart has different PHP requirements).
We need to isolate only PSR-11 containers and Dhii modularity packages, which are not supposed to change often.
## common
This folder contains reusable classes or components that do not fit into any specific module.
They are designed to be versatile and can be used by any module within the plugin.