PackageTrack
Sign in Get early access

povils/phpmnd

A tool to detect Magic numbers in codebase

v3.6.1 6.1M downloads/mo #2360 most downloaded on Packagist povils/phpmnd

What this package is like to depend on

Last release 6 months ago

21 Feb 2026

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 22 of 22 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

22 releases · first in 2017

1 release in the last 12 months

see the full history below

Release timeline

22 releases · Apr 2017 to Feb 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 22
  1. v3.6.1 21 Feb 2026
    Release notes

    What's Changed

    Full Changelog: v3.6.0...v3.6.1

    Open source →
  2. v3.6.0 15 Mar 2025
    Release notes

    What's Changed

    Full Changelog: v3.5.0...v3.6.0

    Open source →
  3. v3.5.0 22 May 2024
    Release notes

    What's Changed

    Full Changelog: v3.4.1...v3.5.0

    Open source →
  4. v3.4.1 02 Mar 2024
    Release notes

    What's Changed

    • Add test to verify that Application::VERSION match the latest git tag by @llaville in #175
    • Bump version to 3.4.1 by @sidz in #177

    Full Changelog: v3.4.0...v3.4.1

    Open source →
  5. v3.4.0 08 Jan 2024
    Release notes

    What's Changed

    Full Changelog: v3.3.0...v3.4.0

    Open source →
  6. v3.3.0 24 Nov 2023
    Release notes

    What's Changed

    • Test against PHP 8.3 by @sidz in #169
    • Add Symfony 7 support by @sidz in #171
    • Micro optimization to reduce array_merge calls by @sidz in #170
    • Test against lowest allowed dependencies by @kubawerlos in #173
    • Update CHANGELOG, increase application version by @sidz in #172

    Full Changelog: v3.2.0...v3.3.0

    Open source →
  7. v3.2.0 14 Jul 2023
    Release notes

    What's Changed

    Full Changelog: v3.1.0...v3.2.0

    Open source →
  8. v3.1.0 30 Mar 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.0.1...v3.1.0

    Open source →
  9. v3.0.1 18 Aug 2022
    Release notes

    What's Changed

    Full Changelog: v3.0.0...v3.0.1

    Open source →
  10. v3.0.0 06 Jul 2022
    Release notes

    What's Changed

    • Support symfony 6 by @sidz in #149
    • PHP 8.1 support by @exussum12 in #134
    • Remove --non-zero-exit-on-violation option by @sidz in #152
    • Drop php <7.4 support, symfony <4.4, add php 8.1 to pipeline by @sidz in #151

    Full Changelog: v2.5.0...v3.0.0

    Open source →
  11. v2.5.0 12 Dec 2021
    Release notes
    • Update php-parallel-lint/php-console-highlighter to get rid of abandoned dependency
    • Run PHPMND against codebase
    • Improve GitHub Actions pipelines
    Open source →
  12. v2.4.0 27 Feb 2021
    Release notes
    • Add GA instead of TravisCI
    • Support PHP 8
    Open source →
  13. v2.3.0 03 May 2020
    Release notes
    • Support PHP 7.3 and PHP 7.4
    • Update dependencies
    Open source →
  14. v2.2.0 12 Jan 2020
    Release notes
    • Add default ignore functions (intval, strval and floatval)
    • Fix negative number whitelisting
    • Ignore the negative value if the scalar does not have a value field
    • Allow multiple files and directories
    Open source →
  15. v2.1.0 27 Jan 2019
    Release notes
    • Check magic numbers in constant arrays.
    • Catch array[magic_number]
    • Whitelist option. Link to a file containing filenames to search
    Open source →
  16. v2.0.0 17 Mar 2018
    Release notes
    • Update dependencies. Required PHP 7.1
    • Add support for negative numbers.
    • Ignore '0' and '1' by default.
    • Add XML report output
    • Option for allowing array mapping when using array extension
    • Option for including numeric strings
    Open source →
  17. v1.1.1 16 May 2017
    Release notes
    • Fix --non-zero-exit-on-violation option.
    Open source →
  18. v1.1.0 15 May 2017
    Release notes
    • Add --non-zero-exit-on-violation option to return non zero exit code when there are magic number in the codebase.
    • Add --hint option suggest replacements for magic numbers.
    • Add more flexibility to extensions. 'all' option and possibility for removal with minus sign.
    • Add --suffixes option.
    • Add PHAR build support with Box.
    Open source →
  19. v1.0.3 27 Apr 2017
    Release notes

    Added

    • Add --strings option to include strings literals in code analysis.
    • Add --ignore-strings option to ignore strings when using the strings option.
    Open source →
  20. v1.0.2 25 Apr 2017
    Release notes

    Added

    • Add --exclude-path option.
    • Add --exclude-file option.
    • Add --ignore-funcs option.
    • Add total magic number count in output result.
    Open source →
  21. v1.0.1 21 Apr 2017
    Release notes

    Fixed

    • Ignore magic numbers in constants when there is operation.
    Open source →
  22. v1.0.0 20 Apr 2017
    Release notes
    • Initial release.
    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