Skip to content

Add scope-based first-party detection to Composer#712

Merged
pushpak1300 merged 2 commits intomainfrom
composer-scope-based-first-party-detection
Mar 26, 2026
Merged

Add scope-based first-party detection to Composer#712
pushpak1300 merged 2 commits intomainfrom
composer-scope-based-first-party-detection

Conversation

@pushpak1300
Copy link
Copy Markdown
Member

All laravel/* packages are now automatically recognized as first-party using a scope-based approach, matching the pattern already used in Npm. This removes the need to manually add each new Laravel package to the list.

Approach

  • Added a FIRST_PARTY_SCOPES constant that matches any package under the laravel/ vendor prefix
  • Removed individual laravel/* entries from the explicit packages list
  • Added unit tests for the Composer support class

@pushpak1300 pushpak1300 marked this pull request as ready for review March 25, 2026 03:34
@pushpak1300 pushpak1300 force-pushed the composer-scope-based-first-party-detection branch from e74cd2e to d6eb784 Compare March 25, 2026 10:13
@pushpak1300 pushpak1300 merged commit 51c437a into main Mar 26, 2026
22 checks passed
@pushpak1300 pushpak1300 deleted the composer-scope-based-first-party-detection branch March 26, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant