NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2159 most downloaded on Packagist
A tool to detect Magic numbers in codebase
Latest stable
v3.6.1
Last release 9 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
10 years old
22 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Add Symfony 8 support by @sidz in https://github.com/povils/phpmnd/pull/191
Full Changelog: https://github.com/povils/phpmnd/compare/v3.6.0...v3.6.1
Full Changelog: v3.6.0...v3.6.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Test against PHP 8.4 by @sidz in https://github.com/povils/phpmnd/pull/183
Full Changelog: https://github.com/povils/phpmnd/compare/v3.5.0...v3.6.0
Add phpunit/php-timer: ^7.0 support by @sidz in https://github.com/povils/phpmnd/pull/179
Full Changelog: https://github.com/povils/phpmnd/compare/v3.4.1...v3.5.0
Full Changelog: v3.4.1...v3.5.0
phpunit/php-timer 7.0composer-runtime-api:"^2.0" dependency to be able to get application version automaticallyAdd test to verify that Application::VERSION match the latest git tag by @llaville in https://github.com/povils/phpmnd/pull/175
Application::VERSION match the latest git tag by @llaville in https://github.com/povils/phpmnd/pull/175Full Changelog: https://github.com/povils/phpmnd/compare/v3.4.0...v3.4.1
Application::VERSION match the latest git tag by @llaville in #175Full Changelog: v3.4.0...v3.4.1
Add PHP-Parser 5 support by @sidz in https://github.com/povils/phpmnd/pull/174
Full Changelog: https://github.com/povils/phpmnd/compare/v3.3.0...v3.4.0
Test against PHP 8.3 by @sidz in https://github.com/povils/phpmnd/pull/169
Full Changelog: https://github.com/povils/phpmnd/compare/v3.2.0...v3.3.0
Full Changelog: v3.2.0...v3.3.0
Test against PHP 8.2 by @sidz in https://github.com/povils/phpmnd/pull/167
Full Changelog: https://github.com/povils/phpmnd/compare/v3.1.0...v3.2.0
Full Changelog: v3.1.0...v3.2.0
Allow phpunit/php-timer 6.0 by @AdrianHL in https://github.com/povils/phpmnd/pull/166
phpunit/php-timer 6.0 by @AdrianHL in https://github.com/povils/phpmnd/pull/166Full Changelog: https://github.com/povils/phpmnd/compare/v3.0.1...v3.1.0
Add symfony/flex to allow-plugins by @sidz in https://github.com/povils/phpmnd/pull/160
Full Changelog: https://github.com/povils/phpmnd/compare/v3.0.0...v3.0.1
Full Changelog: v3.0.0...v3.0.1
Support symfony 6 by @sidz in https://github.com/povils/phpmnd/pull/149
Full Changelog: https://github.com/povils/phpmnd/compare/v2.5.0...v3.0.0
Full Changelog: v2.5.0...v3.0.0
Update php-parallel-lint/php-console-highlighter to get rid of abandoned dependency
* Add GA instead of TravisCI * Support PHP 8
- Support PHP 7.3 and PHP 7.4 - Update dependencies
Add default ignore functions (intval, strval and floatval)
Check magic numbers in constant arrays.
Update dependencies. Required PHP 7.1
Fix --non-zero-exit-on-violation option.
--non-zero-exit-on-violation option.Add --non-zero-exit-on-violation option to return non zero exit code when there are magic number in the codebase.
--non-zero-exit-on-violation option to return non zero exit code when there are magic number in the codebase.--hint option suggest replacements for magic numbers.--suffixes option.Add --strings option to include strings literals in code analysis.
--strings option to include strings literals in code analysis.--ignore-strings option to ignore strings when using strings opton.--strings option to include strings literals in code analysis.--ignore-strings option to ignore strings when using the strings option.Add total magic number count in output result
--exclude-path option--exclude-name option--ignore-funcs option--exclude-path option.--exclude-file option.--ignore-funcs option.Ignore Magic numbers in constants when there is operation. Example
const HOUR = 60 * 60;
[v1.1.1]: https://github.com/povils/phpmnd/compare/v1.1.0...v1.1.1 [v1.1.0]: https://github.com/povils/phpmnd/compare/v1.0.3...v1.1.0 [v1.0.3]: https:
One column per quarter.