ramsey/conventional-commits
A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!
1.7.0
1.9M downloads/mo
#2138 most downloaded on Packagist
ramsey/conventional-commits
What this package is like to depend on
Last release 5 months ago
04 Mar 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
13 releases · first in 2020
1 release in the last 12 months
see the full history below
Release timeline
13 releases · Aug 2020 to Mar 2026Releases
latest 13-
1.7.004 Mar 2026Release notes
Open source →Added
- Verify support for PHP 8.5.
- Expand symfony/console version to include
^8.0(#115). - Expand symfony/filesystem version to include
^8.0(#115).
Changed
- Nothing.
Deprecated
- Nothing.
Removed
Fixed
- Nothing.
Release notes
Open source →Added
- Verify support for PHP 8.5.
- Expand symfony/console version to include
^8.0(#115). - Expand symfony/filesystem version to include
^8.0(#115).
Changed
- Nothing.
Deprecated
- Nothing.
Removed
Fixed
- Nothing.
-
1.6.001 Mar 2025Release notes
Open source →Added
- Improve CaptainHook validation error message (#101)
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- Improve CaptainHook validation error message (#101)
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
1.5.117 Apr 2024Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Allow symfony/console, symfony/filesystem at major version 7.
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Allow symfony/console, symfony/filesystem at major version 7.
-
1.5.018 Mar 2023Release notes
Open source →Added
- Nothing.
Changed
- The minimum required version of PHP is now 8.1.
- The minimum required version of symfony/console and symfony/filesystem is now 6.0.
- The minimum required version of the Composer runtime API is now 2.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- Nothing.
Changed
- The minimum required version of PHP is now 8.1.
- The minimum required version of symfony/console and symfony/filesystem is now 6.0.
- The minimum required version of the Composer runtime API is now 2.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
1.4.018 Mar 2023Release notes
Open source →Added
- Add
validatecommand to the CLI to validate commit messages directly from the console.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- Add
validatecommand to the CLI to validate commit messages directly from the console.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- Add
-
1.3.120 Apr 2022Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Update how ramsey/conventional-commits uses input and output so this library will work properly (without interface errors) with symfony/console
^4.4.30,^5.3.7, and^6.0.
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Update how ramsey/conventional-commits uses input and output so this library will work properly (without interface errors) with symfony/console
^4.4.30,^5.3.7, and^6.0.
-
1.3.009 Jan 2022Release notes
Open source →Added
- Support finding
composer.jsonwhen ramsey/conventional-commits is bundled within a Phar (see #29). - Allow use of version 6.x of required Symfony packages.
Changed
- Move captainhook/captainhook to
require-devand suggest it as a dependency.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- Support finding
composer.jsonwhen ramsey/conventional-commits is bundled within a Phar (see #29). - Allow use of version 6.x of required Symfony packages.
Changed
- Move captainhook/captainhook to
require-devand suggest it as a dependency.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- Support finding
-
1.2.009 Nov 2021Release notes
Open source →Added
- Update opis/json-schema to version 2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Update minimum Composer versions for CVE-2021-41116.
Release notes
Open source →Added
- Update opis/json-schema to version 2.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Update minimum Composer versions for CVE-2021-41116.
-
1.1.207 Aug 2021Release notes
Open source →Maintenance release, updating project standards and dependencies only.
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Maintenance release, updating project standards and dependencies only.
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
1.1.126 Oct 2020Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- require composer/composer as a standard (non-dev) dependency, since commit hooks do not call CaptainHook in the context of Composer
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Require composer/composer as a standard (non-dev) dependency, since commit hooks do not call CaptainHook in the context of Composer
-
1.1.026 Oct 2020Release notes
Open source →Added
- #2 enables configuration of Conventional Commits messages
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
1.0.129 Aug 2020Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Add ramsey/devtools to the project and refactor accordingly.
-
1.0.013 Aug 2020Release notes
Open source →Initial release
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.