How do I version and tag PHP releases (SemVer)?

When managing PHP releases, adhering to Semantic Versioning (SemVer) is crucial for maintaining clarity and avoiding conflicts. SemVer uses a three-part version number: MAJOR.MINOR.PATCH.

The MAJOR version is incremented for incompatible API changes, the MINOR version is incremented for added functionality in a backward-compatible manner, and the PATCH version is incremented for backward-compatible bug fixes.

Additionally, you can use optional pre-release labels and build metadata. For example, a version could be represented as 1.0.0-beta.1 for a beta release of version 1.0.0.


PHP versioning SemVer release management PHP releases semantic versioning