You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Profile-aware scoping via extra.wp-scoper.profiles.{name}: a single composer.json can now express a base set of scoped packages plus zero-or-more named profiles that contribute additional packages (and override scalar keys). Build scripts pick the profile via the SCOPER_PROFILE environment variable (e.g., SCOPER_PROFILE=premium composer install). packages arrays are appended + de-duplicated; all other keys (namespace_prefix, target_directory, etc.) replace base values when present in the profile. dev_packages.packages follow the same append-and-dedupe rule. Throws InvalidArgumentException if SCOPER_PROFILE names a profile that isn't defined — fail-loud over silent-wrong-output. Public API: Config::applyProfile(array, ?string): array and a new optional $profile parameter on Config::fromArray(). Existing composer.json configs without profiles are unaffected.