Skip to content

Upd. Composer metadata: description, homepage, keywords, support - #7

Merged
svfcode merged 1 commit into
masterfrom
composer-metadata-seo
Aug 31, 2026
Merged

Upd. Composer metadata: description, homepage, keywords, support#7
svfcode merged 1 commit into
masterfrom
composer-metadata-seo

Conversation

@mariak-coder

Copy link
Copy Markdown
Contributor

Metadata only, no code changes.

Why. Packagist takes the package description from composer.json, not from the GitHub About field. Right now packagist.org/packages/cleantalk/contacts-encoder shows "CleanTalk ContactsEncoder class", so the package is not findable by the head keyword "email obfuscation" either in Packagist search or in Google. The repository itself is already updated.

What changed in composer.json

  • description - product description with the head keyword
  • homepage - link to the product page cleantalk.org/contact-encoder
  • keywords - 10 search terms used inside Packagist
  • support - issues and source links

Everything else, including the package name and dependencies, is untouched. The package name stays cleantalk/contacts-encoder: renaming would break Composer installs for existing users.

What is needed after the merge

Packagist only refreshes metadata on a new release, so please tag a patch version after merging. The webhook works - 2.1.0 appeared on Packagist automatically.

One more thing, unrelated to this PR but worth a look

ContactsEncoder.php has const VERSION = '2.0.19', while the latest tag is 2.1.0. That constant goes into the agent string sent to the cloud (contacts_encoder_lib_2.0.19), so our own statistics report an outdated library version. Worth bumping together with the next tag.

Acceptance: packagist.org/packages/cleantalk/contacts-encoder shows the new description, the product page link and the keyword list.

@svfcode
svfcode merged commit 0894b1a into master Aug 31, 2026
1 check passed
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