Skip to content

Switch to using composer.phar #13519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

brandonkelly
Copy link
Member

Description

Internal Composer operations now use a bundled composer.phar file, which temporarily gets copied into storage/runtime/, rather than using the Composer PHP API directly.

Works around several issues that have surfaced in Composer 2.3+, which have prevented us from loosening the composer/composer dependency.

composer/composer is still listed as a dependency, but low loosened to ^2.2.19. We can fully remove it in Craft 5, but it didn’t feel safe to remove it before then.

Related issues

@brandonkelly brandonkelly requested a review from a team as a code owner August 8, 2023 05:45
@linear
Copy link

linear bot commented Aug 8, 2023

@brandonkelly brandonkelly merged commit 027779b into 3.9 Aug 8, 2023
@brandonkelly brandonkelly deleted the feature/dev-1025-update-internal-composer-to-23 branch August 8, 2023 05:47
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