org.packagist.composer
Composer project-metadata passthrough for composer.json sync: carries the composer-only fields that have no native projectfile slot so a project regenerated from projectfile alone still round-trips composer.json — type, minimum-stability, prefer-stable, and abandoned. Core name/deps/ requirements map to reserved projectfile fields; this namespace is the ecosystem-only remainder.
- Namespace:
org.packagist.composer - Owner: projectfile.org (community-maintained)
- Status: proposed
Used by
Section titled “Used by”Illustrative fragment — not a complete projectfile document. Consumers MUST round-trip unknown namespaces even when no shape is published.
---# SPDX-FileCopyrightText: 2026 Damián Búho <damian.buho@proton.me>## SPDX-License-Identifier: CC-BY-4.0# SPDX-License-Identifier: MIT
# Shape: org.packagist.composer extension namespace# Illustrative fragment — not a complete projectfile document.# See registry.yaml for ownership and status.## Composer project-metadata passthrough. Core composer fields (name, description,# dependencies, php/ext/lib platform requirements) map to reserved projectfile# fields; this namespace carries the composer-only remainder so a project# regenerated from projectfile alone still round-trips composer.json.
org: packagist: composer: type: library # package type: library | project | metapackage | composer-plugin minimum-stability: stable # dev | alpha | beta | rc | stable prefer-stable: true # prefer stable over unstable when both satisfy a constraint abandoned: false # false, or the replacement package name if superseded[org.packagist.composer]type = "library"minimum-stability = "stable"prefer-stable = trueabandoned = false{ "org": { "packagist": { "composer": { "type": "library", "minimum-stability": "stable", "prefer-stable": true, "abandoned": false } } }}