PackageTrack
Sign in Get early access

phpcompatibility/phpcompatibility-paragonie

A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.

1.3.4 38M downloads/mo #565 most downloaded on Packagist PHPCompatibility/PHPCompatibilityParagonie

What this package is like to depend on

Last release 8 months ago

29 Nov 2025

Release timing varies

gaps range from 3 weeks to 1.7 years

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

11 releases · first in 2018

3 releases in the last 12 months

see the full history below

Release timeline

11 releases · Oct 2018 to Nov 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 2.0.0-alpha2 29 Nov 2025 pre-release
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the random_compat polyfill itself with PHPCompatibility 10.0.0-alpha2.
    • Miscellaneous housekeeping.
    Open source →
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the random_compat polyfill itself with PHPCompatibility 10.0.0-alpha2.
    • Miscellaneous housekeeping.
    Open source →
  2. 2.0.0-alpha1 21 Oct 2025 pre-release
    Release notes
    • Composer: The PHPCompatibility dependency has been updated to the recently released 10.0.0-alpha1 version.
      Note: in select cases, this means that custom <exclude> rules in a project's [.]phpcs.xml[.dist] configuration file may needs to be updated.
      Along the same lines, selective // phpcs:ignore comments used inline may need to be updated with the new sniff code(s).
      For full information on these kind of changes, please refer to the Upgrade guide for PHPCompatibility 10.0.0.
    • The Composer PHPCS plugin will now be installed automatically to register PHPCompatibility and other external standards with PHP_CodeSniffer.
      If you have a require-dev in place for this plugin in your own composer.json, it is strongly recommended to remove this to prevent conflicting version constraints.
      If you previously used another Composer plugin, manually set the installed_paths configuration, or set the installed_paths in your [.]phpcs.xml[.dist] configuration file, it is recommended you remove this in favour of letting the Composer PHPCS plugin handle this.
    • Support for PHP 5.3 has been dropped. The new minimum supported PHP version is 5.4.
    • Support for PHP_CodeSniffer 4.0 has been added.
    • Support for PHP_CodeSniffer < 3.13.3 has been dropped.
    Open source →
    Release notes
    • Composer: The PHPCompatibility dependency has been updated to the recently released 10.0.0-alpha1 version. Note: in select cases, this means that custom <exclude> rules in a project's [.]phpcs.xml[.dist] configuration file may needs to be updated. Along the same lines, selective // phpcs:ignore comments used inline may need to be updated with the new sniff code(s). For full information on these kind of changes, please refer to the Upgrade guide for PHPCompatibility 10.0.0.
    • The [Composer PHPCS plugin] will now be installed automatically to register PHPCompatibility and other external standards with PHP_CodeSniffer. If you have a require-dev in place for this plugin in your own composer.json, it is strongly recommended to remove this to prevent conflicting version constraints. If you previously used another Composer plugin, manually set the installed_paths configuration, or set the installed_paths in your [.]phpcs.xml[.dist] configuration file, it is recommended you remove this in favour of letting the [Composer PHPCS plugin] handle this.
    • Support for PHP 5.3 has been dropped. The new minimum supported PHP version is 5.4.
    • Support for PHP_CodeSniffer 4.0 has been added.
    • Support for PHP_CodeSniffer < 3.13.3 has been dropped.
    Open source →
  3. 1.3.4 19 Sep 2025
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the latest 1.x version of the sodium_compat polyfill itself.
    • Rulesets now annotate which schema they comply with.
    • Other housekeeping and minor documentation updates.
    Open source →
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the latest 1.x version of the sodium_compat polyfill itself.
    • Rulesets now annotate which schema they comply with.
    • Other housekeeping and minor documentation updates.
    Open source →
  4. 1.3.3 24 Apr 2024
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the latest 1.x version of the sodium_compat polyfill itself.
    • The recommended version of the Composer PHPCS plugin is now ^1.0.
    • Other housekeeping. Includes a contribution from @fredden.
    Open source →
    Release notes
    • Prevent a new false positive when the ruleset is run over the code of the latest 1.x version of the sodium_compat polyfill itself.
    • The recommended version of the [Composer PHPCS plugin] is now ^1.0.
    • Other housekeeping. Includes a contribution from [@fredden].
    Open source →
  5. 1.3.2 25 Oct 2022
    Release notes
    • README: Updated the installation instructions for compatibility with Composer >= 2.2.
    • Composer: The package will now identify itself as a static analysis tool. Thanks @GaryJones!
    • Other housekeeping and minor documentation updates.
    Open source →
    Release notes
    • README: Updated the installation instructions for compatibility with Composer >= 2.2.
    • Composer: The package will now identify itself as a static analysis tool. Thanks [@GaryJones]!
    • Other housekeeping and minor documentation updates.
    Open source →
  6. 1.3.1 15 Feb 2021
    Release notes
    • The recommended version of the Composer PHPCS plugin is now ^0.7.0, which offers compatibility with Composer 2.0.
    • The rulesets are now also tested against PHP 7.4 and 8.0.
      Note: full PHP 7.4 support is only available in combination with PHP_CodeSniffer 3.5.6+.
      Note: runtime PHP 8.0 support is only available in combination with PHP_CodeSniffer 3.5.7+, full support is expected in PHP_CodeSniffer 3.6.0.
    Open source →
    Release notes
    • The recommended version of the [Composer PHPCS plugin] is now ^0.7.0, which offers compatibility with Composer 2.0.
    • The rulesets are now also tested against PHP 7.4 and 8.0. Note: full PHP 7.4 support is only available in combination with PHP_CodeSniffer >= 3.5.6. Note: runtime PHP 8.0 support is only available in combination with PHP_CodeSniffer >= 3.5.7, full support is expected in PHP_CodeSniffer 3.6.0.
    Open source →
  7. 1.3.0 04 Nov 2019
    Release notes
    Open source →
    Release notes
    Open source →
  8. 1.2.0 16 Oct 2019
    Release notes
    Open source →
    Release notes
    Open source →
  9. 1.1.0 28 Aug 2019
    Release notes
    • The PHPCompatibilityParagonieSodiumCompat ruleset has been updated to account for the latest changes in the sodium_compat polyfill.
    • Prevent false positives when the ruleset is run over the code of the sodium_compat polyfill itself.
    • Composer: The recommended version of the Composer PHPCS plugin has been upped to ^0.5.0.
    • CI: Improved integration test for the SodiumCompat ruleset.
    • CI: Added early warning system for false positives due to changes in the polyfill libraries themselves.
    Open source →
    Release notes
    • The PHPCompatibilityParagonieSodiumCompat ruleset has been updated to account for the latest changes in the sodium_compat polyfill.
    • Prevent false positives when the ruleset is run over the code of the sodium_compat polyfill itself.
    • Composer: The recommended version of the [Composer PHPCS plugin] has been upped to ^0.5.0.
    • CI: Improved integration test for the SodiumCompat ruleset.
    • CI: Added early warning system for false positives due to changes in the polyfill libraries themselves.
    Open source →
  10. 1.0.1 16 Dec 2018
    Release notes
    • Prevent false positives when the ruleset is run over the code of the RandomCompat polyfill itself.
    • The rulesets are now also tested against PHP 7.3.
      Note: full PHP 7.3 support is only available in combination with PHP_CodeSniffer 2.9.2 or 3.3.1+ due to an incompatibility within PHP_CodeSniffer itself.
    Open source →
    Release notes
    • Prevent false positives when the ruleset is run over the code of the random_compat polyfill itself.
    • The rulesets are now also tested against PHP 7.3. Note: full PHP 7.3 support is only available in combination with PHP_CodeSniffer 2.9.2 or 3.3.1+ due to an incompatibility within PHP_CodeSniffer itself.
    Open source →
  11. 1.0.0 07 Oct 2018
    Release notes

    Initial release of PHPCompatibilityParagonie containing rulesets covering the random_compat and sodium_compat polyfill libraries.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive