Browse Code

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.

A Consent Module Primer

This article will show you how to create a basic consent form, and how to deal with consents that are granted by your web site visitors.

A Primer On Simple Conditionals

This article is intended as a gentle introduction to ExpressionEngine conditionals with the aim of giving the reader an idea of how they work using real word examples.