Skip to content

chore: add code of conduct and packagist badges#239

Merged
wadakatu merged 1 commit into
mainfrom
chore/community-health-files
May 14, 2026
Merged

chore: add code of conduct and packagist badges#239
wadakatu merged 1 commit into
mainfrom
chore/community-health-files

Conversation

@wadakatu
Copy link
Copy Markdown
Collaborator

Summary

  • Add Contributor Covenant 2.1 as CODE_OF_CONDUCT.md (contact: k.isono@studio.design).
  • Add Total Downloads and PHP Version Require Packagist badges to README header.

Why

Repository community health profile was at 75%; the only missing item flagged by GitHub was a Code of Conduct. Adding the standard Contributor Covenant brings it to 100% and signals to potential contributors that the project follows accepted community norms.

The README only surfaced Stable Version and License badges. Adding download count and PHP version makes the package's maturity and platform requirements immediately visible to first-time visitors, which is one of the cheapest discoverability improvements available.

This PR is part of a broader repository-settings optimization pass (GitHub Topics, About fields, Discussions, squash-only merge, and a main-branch ruleset were applied directly to the repo settings out-of-band).

Verification

  • CODE_OF_CONDUCT.md was downloaded verbatim from contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md and only the [INSERT CONTACT METHOD] placeholder was substituted.
  • README rendering checked locally — badges live alongside the existing CI / Stable Version / License row.
  • No source / test code touched, so the existing CI matrix is the regression check.

Notes for reviewers

  • archive.exclude in composer.json is intentionally not updated — the Code of Conduct should ship inside the Packagist tarball so it's discoverable from any vendor checkout.

- add Contributor Covenant 2.1 as CODE_OF_CONDUCT.md (contact: k.isono@studio.design)
- add Total Downloads and PHP Version Require badges to README

raises the GitHub community health profile to 100% and improves
discoverability by surfacing the Packagist download count and PHP
version requirement directly in the README header.
@wadakatu wadakatu merged commit 01dafd0 into main May 14, 2026
16 checks passed
@wadakatu wadakatu deleted the chore/community-health-files branch May 14, 2026 07:36
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