Browse Advanced

New 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.

Content Tabs

A tabbed UI can help save space, and better organize a content heavy page, or site section. Today I’m going to walk you through a simple way to create tabbed content in your ExpressionEngine site.