Skip to content
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

Support Composer (PHP) Package Manager #4378

Open
maennchen opened this issue Oct 10, 2024 · 0 comments
Open

Support Composer (PHP) Package Manager #4378

maennchen opened this issue Oct 10, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@maennchen
Copy link

maennchen commented Oct 10, 2024

Is your feature request related to a problem? Please describe.

Scorecard currently does not recognize the package manager composer (PHP).

Describe the solution you'd like

Scorecard should recognize that composer is used.

How are packages published with composer?

The default & public package registry is called Packagist.

The packages are pulled by the registry and not pushed like with most other registries.

Steps:

  • Create a composer.json file with "type": "library"
  • Configure packagist to pull Git Repository
  • Optional: Create a Webhook so that new versions are recognized quickly

Detection

To detect if a project is publishing using composer, the following rules should work:

The latter two checks are a bit more involved. But depending on how accurate this checks need to be, they could also be skipped.

Describe alternatives you've considered

None.

Additional context

@maennchen maennchen added the kind/enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant