Skip to content

add packagist support#3

Open
xHeaven wants to merge 3 commits intovercel-labs:mainfrom
xHeaven:packagist
Open

add packagist support#3
xHeaven wants to merge 3 commits intovercel-labs:mainfrom
xHeaven:packagist

Conversation

@xHeaven
Copy link

@xHeaven xHeaven commented Jan 14, 2026

This PR adds support for PHP packages via Packagist.
It adds 3 aliases: packagist, composer and php

@vercel
Copy link

vercel bot commented Jan 14, 2026

@xHeaven is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Removed dev filtering, untagged branches are available on the ~dev.json endpoint.
Fallback was flagged by vercel bot.
@ctate
Copy link
Collaborator

ctate commented Feb 2, 2026

Nice work - this is well-structured and follows the existing patterns cleanly

Two small fixes before merging:

  1. Remove the unused includeDev parameter from getAvailableVersions (line 143 in packagist.ts) - it's defined but never used.

  2. Add Bitbucket git URL normalization in extractRepoUrl:

.replace(/^git@bitbucket\.org:/, "https://bitbucket.org/")

You already handle GitHub and GitLab, just missing this one.

@xHeaven
Copy link
Author

xHeaven commented Feb 3, 2026

Nice work - this is well-structured and follows the existing patterns cleanly

Two small fixes before merging:

1. Remove the unused includeDev parameter from `getAvailableVersions` (line 143 in packagist.ts) - it's defined but never used.

2. Add Bitbucket git URL normalization in extractRepoUrl:
.replace(/^git@bitbucket\.org:/, "https://bitbucket.org/")

You already handle GitHub and GitLab, just missing this one.

I'll take a look at this, thanks!

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.

2 participants