chore: add code of conduct and packagist badges#239
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CODE_OF_CONDUCT.md(contact:k.isono@studio.design).Total DownloadsandPHP Version RequirePackagist 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 VersionandLicensebadges. 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.mdwas downloaded verbatim fromcontributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.mdand only the[INSERT CONTACT METHOD]placeholder was substituted.Notes for reviewers
archive.excludeincomposer.jsonis intentionally not updated — the Code of Conduct should ship inside the Packagist tarball so it's discoverable from any vendor checkout.