Skip to content

docs(readme): read License badge from repo file, not packagist - #1

Merged
alexk136 merged 1 commit into
masterfrom
develop
Jul 19, 2026
Merged

docs(readme): read License badge from repo file, not packagist#1
alexk136 merged 1 commit into
masterfrom
develop

Conversation

@alexk136

Copy link
Copy Markdown
Contributor

img.shields.io/packagist/l//.svg depends on packagist license detection which intermittently fails to return a license value, causing the badge to render as 'not found' even though LICENSE (MIT) ships at the repo root and composer.json declares license: MIT.

Switch the License badge source to img.shields.io/github/license/.svg, which reads the LICENSE file directly from the repository. Other badges (version, downloads) stay on the packagist source since that data is authoritative on packagist and the issue only affects license detection.

Verification:

  • composer check (cs:check + test) passes: 28 PHP files clean, 43/43 tests.
  • No code/contract changes; no version bump needed (packagist updates on git tags, not on docs commits).

Operator sign-off received via explicit user instruction 2026-07-19.

img.shields.io/packagist/l/<vendor>/<name>.svg depends on packagist license
detection which intermittently fails to return a license value, causing the
badge to render as 'not found' even though LICENSE (MIT) ships at the repo
root and composer.json declares license: MIT.

Switch the License badge source to img.shields.io/github/license/<repo>.svg,
which reads the LICENSE file directly from the repository. Other badges
(version, downloads) stay on the packagist source since that data is
authoritative on packagist and the issue only affects license detection.

Verification:
- composer check (cs:check + test) passes: 28 PHP files clean, 43/43 tests.
- No code/contract changes; no version bump needed (packagist updates on
  git tags, not on docs commits).

Operator sign-off received via explicit user instruction 2026-07-19.
@alexk136 alexk136 self-assigned this Jul 19, 2026
@alexk136
alexk136 merged commit 8afa74c into master Jul 19, 2026
3 checks passed
@alexk136
alexk136 deleted the develop branch July 19, 2026 17:04
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