Brian Litzinger's avatar
Brian Litzinger

BoldMinded has been a trusted name in ExpressionEngine add-on development for over 12 years.

From This Author

How to safely use Composer in add-ons with PHP-Scoper

ExpressionEngine doesn’t natively support Composer-based add-on installation, but many developers use Composer internally, which can lead to dependency conflicts when add-ons require different versions of the same package. The solution to this is scoping, which isolates an add-on’s dependencies by updating their namespaces using tools like PHP-Scoper. This prevents version conflicts and cryptic errors when multiple add-ons use shared packages. The guide walks through setting up PHP-Scoper to automate this process, ensuring smooth, conflict-free add-on distribution.