coduo/php-matcher
PHP Matcher enables you to match values with patterns
6.0.18
14M downloads/mo
#1779 most downloaded on Packagist
coduo/php-matcher
What this package is like to depend on
Last release 8 months ago
08 Dec 2025
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 58 of 58 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
64 releases · first in 2014
1 release in the last 12 months
see the full history below
Release timeline
62 releases · May 2014 to Dec 2025Releases
latest 60 of 64-
6.0.1808 Dec 2025Release notes
Open source →[6.0.18] - 2025-12-08
Added
Changed
- 039be3 - task: added nix-shell to php-matcher - @norberttech
- #511 - dropped support for PHP < 8.3 - @smoench
- ae8cdd - Delete .github/FUNDING.yml - @norberttech
- 50ad4d - Create FUNDING.yml - @norberttech
Updated
- 04d86a - README.md - @norberttech
Contributors
Generated by Automation
Release notes
Open source →Added
Changed
- 039be3 - task: added nix-shell to php-matcher - @norberttech
- #511 - dropped support for PHP < 8.3 - @smoench
- ae8cdd - Delete .github/FUNDING.yml - @norberttech
- 50ad4d - Create FUNDING.yml - @norberttech
Updated
- 04d86a - README.md - @norberttech
-
6.0.1720 Dec 2024 -
6.0.1607 Oct 2024 -
6.0.1525 Apr 2024Release notes
Open source →[6.0.15] - 2024-04-25
Added
- #478 - Test coverage of both expanders - @StephaneLeveugle
- #477 - Support for doctrine/lexer 3 - @Guuzen
- #474 - Add benchmark directory to export-ignore - @alexander-schranz
Changed
- #479 - each tool now lives in its own directory - @norberttech
- #478 - Moved much of the code into an abstract class - @StephaneLeveugle
Fixed
- #479 - phpbench configuration - @norberttech
- #478 - Error handling of after/before expanders when value was equal to boundary - @StephaneLeveugle
Updated
- a949bb - issue templates - @norberttech
- 0cd0d7 - README.md - @norberttech
Removed
- #479 - pcov extension from required dev - @norberttech
- #478 - Explicit handling of Time - @StephaneLeveugle
- #477 - Support for doctrine/lexer 1 and 2 - @Guuzen
Contributors
Generated by Automation
Release notes
Open source →Added
- #478 - Test coverage of both expanders - @StephaneLeveugle
- #477 - Support for doctrine/lexer 3 - @Guuzen
- #474 - Add benchmark directory to export-ignore - @alexander-schranz
Changed
- #479 - each tool now lives in its own directory - @norberttech
- #478 - Moved much of the code into an abstract class - @StephaneLeveugle
Fixed
- #479 - phpbench configuration - @norberttech
- #478 - Error handling of after/before expanders when value was equal to boundary - @StephaneLeveugle
Updated
- a949bb - issue templates - @norberttech
- 0cd0d7 - README.md - @norberttech
Removed
- #479 - pcov extension from required dev - @norberttech
- #478 - Explicit handling of Time - @StephaneLeveugle
- #477 - Support for doctrine/lexer 1 and 2 - @Guuzen
-
6.0.1413 Dec 2023Release notes
Open source →[6.0.14] - 2023-12-13
Added
- #470 - PHP 8.3 Support - @rogervila
Updated
- 6632a8 - README.md - @norberttech
Contributors
Generated by Automation
-
6.0.1327 Mar 2023Release notes
Open source →[6.0.13] - 2023-03-27
Fixed
- #464 - Fix compatibility to PHPUnit 9 - @alexander-schranz
Generated by Automation
-
6.0.1203 Mar 2023Release notes
Open source →[6.0.12] - 2023-03-03
Added
- #456 - PHPUnit 10 support - @jdecool
- #458 - support for lexer ^2.0 - @norberttech
Fixed
- 9aebc1 - typo in workflow name - @norberttech
Updated
- 6d7bb9 - automerge workflow - @norberttech
Generated by Automation
-
6.0.1114 Feb 2023Release notes
Open source →[6.0.11] - 2023-02-14
Added
- 0bb105 - support for lexer ^2.0 (#458) - @norberttech
Generated by Automation
-
6.0.1019 Jan 2023Release notes
Open source →[6.0.10] - 2023-01-19
Added
- #443 - PHP 8.2 Support - @rogervila
Changed
- #420 - Using assertSame to make assert equals restricted - @peter279k
Updated
- 8c85e0 - dependencies - @norberttech
Generated by Automation
-
6.0.904 Oct 2022Release notes
Open source →[6.0.9] - 2022-10-04
Changed
- #400 - Fixed UUID pattern - @marcospassos
Updated
- 6c1aba - dependencies - @norberttech
Generated by Automation
-
6.0.825 Mar 2022 -
6.0.720 Jun 2021Release notes
Open source →Added
- 2cdaed - aeon-php/calendar ^1.0 constraint - @norberttech
- #238 - @ulid@ - matcher - @WengerK
Fixed
-
6.0.615 May 2021Release notes
Open source →Added
- #236 - support for UUID v6 - @vudaltsov
- #229 - additional composer to install tools - @norberttech
Fixed
- #229 - scheduled github workflows jobs cron defintitions - @norberttech
Removed
- #229 - phive to install tools - @norberttech
-
6.0.503 May 2021Release notes
Open source → -
6.0.401 Mar 2021 -
6.0.325 Feb 2021Release notes
Open source →Changed
- #225 - error message for json/array/chain matchers are now more precise - @norberttech
-
6.0.223 Feb 2021Release notes
Open source →Added
- #224 - isInDateFormat pattern expander - @norberttech
- #224 - support for aeon-php/calendar ^0.16.0 - @norberttech
Changed
- #224 - LICENSE file - @norberttech
Removed
- #224 - symfony/intl dependency that was coming from coduo/php-to-string dependency - @norberttech
-
6.0.105 Feb 2021Release notes
Open source →Changed
- #222 - updated dependencies - @norberttech
- a7c2bb - Update CHANGELOG.md - @norberttech
- ff0a34 - Update CHANGELOG.md - @norberttech
-
6.0.024 Jan 2021Release notes
Open source →Added
- #221 - @array_previous@ pattern - @norberttech
- #221 - @array_previous_repeat@ pattern - @norberttech
- #221 - Benchmark by phpbench - @norberttech
- 14b49d - dependabot - @norberttech
- #219 - @date@ - matcher - @norberttech
- #219 - @time@ - matcher - @norberttech
- #219 - @timezone@ or @tz@ - matcher - @norberttech
- #219 - isTzOffset() - expander - @norberttech
- #219 - isTzIdentifier() - expander - @norberttech
- #219 - isTzAbbreviation() - expander - @norberttech
- #219 - Backtrace::last() : ?string - method - @norberttech
- #218 - Added integration with aeon-php/automation - @norberttech
- 1d14f8 - changelog file - @norberttech
Changed
- #220 - Improve code quality with Rector PHP - @norberttech
- 313372 - Update changelog-update.yml - @norberttech
- fd4903 - Update CHANGELOG.md - @norberttech
- 1f32aa - Update composer.json - @norberttech
- 54594c - phar dependencies, increased timeout for infection, changed default branch for scheduled jobs - @norberttech
- e3eab6 - Update README.md - @norberttech
- #215 - PHP 8.0 compability. - @dotdevru
-
5.0.109 Oct 2020Release notes
Open source →Changed
- #213 - include ArrayMatcher in OrMatcher to fix issues with @null@||@array@ - @mtomala
- efd3b2 - Update README.md - @norberttech
-
5.0.027 Sep 2020Release notes
Open source →Added
- 17570c - type coverage badge (#206) - @norberttech
- 277f7a - psalm to static analyze tools - @norberttech
- 6803f9 - gitattributes - @norberttech
- 1e6e82 - 4.0 version to README - @norberttech
Changed
- f5520d - Update README.md - @norberttech
- 5091e4 - Mutation tests (#207) - @norberttech
- 983e41 - Moved tools to phive from composer - @norberttech
- f1be44 - Improved CS rules - @norberttech
- b4571b - Update README.md - @norberttech
- #205 - Make Backtrace optional - @norberttech
- #204 - Remove xml, expression and property accessor components from core dependencies - @norberttech
- a1e3ea - README - @norberttech
- 25f8ce - Downgraded phpunit version - @norberttech
- 6cb1c8 - phpunit dependency - @norberttech
- 20dd89 - Move to composer2 - @norberttech
- 5cc204 - Static analyze - @norberttech
- 78ff3c - dependencies - @norberttech
Fixed
- 6d54bc - version triggering mutation tests in github workflow - @norberttech
- #209 - issue with false positive detection of valid json string - @norberttech
- 33181b - JSON handling in PHPMatcherConstraint (#208) - @vudaltsov
- 7b7d92 - failing tests on windows - @norberttech
- be0f20 - failing tests with lowest dependencies - @norberttech
- b645ce - github actions workflow branches - @norberttech
Removed
- 48f176 - tools from repository - @norberttech
- e8373a - composer extra section - @norberttech
- 2c4871 - support for windows - @norberttech
-
4.0.209 Oct 2020 -
4.0.127 Sep 2020 -
4.0.022 Dec 2019Release notes
Open source →Added
- #185 - HasProperty pattern expander - @norberttech
- #174 - possibility to dump backtrace - @norberttech
- #173 - match expander that allows to match nullable @json@ objects - @norberttech
- #171 - @JSON@ pattern - @norberttech
- #169 - possibility to use new lines in json patterns - @norberttech
Changed
- aaa336 - Bumped dev-master alias to 5.0-dev - @norberttech
- 267b67 - Update README.md - @norberttech
- #186 - PHPMatcher facade with implementation that makes possible to access backtrace - @norberttech
- #190 - README.md - fix example in "Json matching with unbounded arrays and objects" (master) - @domis86
- #184 - Upgraded coduo/php-to-string dependency - @norberttech
- #182 - Upgrades on Symfony components - @ianrodrigues
- #180 - Update README.md - @uirapuru
- #179 - register NotContains expander definition - @aitboudad
- #178 - Create CODE_OF_CONDUCT.md - @norberttech
- #177 - Pattern expander backtrace - @norberttech
- #146 - Test for empty array - @JarJak
- #176 - Correctly finds not existing keys when checking Array matcher pattern - @teklakct
- #172 - Do not use anymore child matcher errors in Json/XML matchers - @norberttech
- bb3c52 - Update README.md - @norberttech
- #168 - Testsuite cleanups - @norberttech
- #166 - Update minimum required php version to 7.2 - @norberttech
Fixed
-
3.2.324 Nov 2019Release notes
Open source →Fixed
- #188 - json matcher when matching strings including other patterns - @norberttech
-
3.2.211 Aug 2019 -
3.2.109 Aug 2019Release notes
Open source →Added
Changed
- 1cf313 - Update README.md - @norberttech
- 94af14 - Update README.md - @norberttech
- #164 - allow doctrine/lexer 1.1 - @smoench
- #162 - Do not return any error when matching was successful - @norberttech
- #161 - Pattern in PHPMatcherConstraint is allowed to be an array - @teklakct
- 5030f9 - Update README.md - @norberttech
- 327000 - Update composer.json - @norberttech
-
3.2.015 Jul 2019Release notes
Open source →Changed
- cf1ebe - Update README.md - @norberttech
- #155 - Require stable version of openlss/lib-array2xml - @bendavies
- #148 - PHPUnit 8 compatibility - @nclsHart
- #152 - Enhance PHPUnit setting - @peter279k
- #149 - Remove a double call to sprintf - @nclsHart
Fixed
-
3.1.311 Aug 2019 -
3.1.208 Feb 2019 -
3.1.129 Jan 2019Release notes
Open source →Added
- #141 - expanders 'After' and 'Before' for date comparaison - @Canadadry
- #131 - isIp() pattern expander - @thomasbisignani
Changed
- #145 - CS Fixes & additional validation during tests - @norberttech
- #137 - Update copyright - @samnela
- #135 - Correct typo in readme - @athos7933
- #126 - PHPUnit 7 support, php 7.1 requirement - @kejwmen
- a9d0f0 - branch-alias in composer.json - @norberttech
-
3.1.026 Apr 2018Release notes
Open source →Added
- #130 - UUID pattern support for the TextMatcher - @thomasbisignani
Changed
- f0c89f - README after 3.1 release - @norberttech
- #127 - NotContains expander - @kejwmen
- #128 - Include php 7.2 in travis matrix - @kejwmen
- 61b92b - Update README.md - @norberttech
- #119 - Matcher fails when trying to use empty string as a pattern - @jkobus
- #122 - Trim whitespaces around the matchers after OR splitting - @partikus
Fixed
- #129 - typo - @thomasbisignani
- #125 - return type-hint - @yourwebmaker
-
3.0.108 Mar 2018Release notes
Open source → -
3.0.004 Feb 2018Release notes
Open source →Added
- 01ec0d - repeat patter expander test - @norberttech
- df73c8 - backslash before native functions - @norberttech
- #117 - count()-Expander to readme - @masseelch
Changed
- ae1bb3 - Code cleanup - @norberttech
- fb88c7 - Converted double to single quotes in simple strings - @norberttech
- 5da0bc - branch alias - @norberttech
- #114 - [3.0] Fix bad encoding in Repeat expander - @eliecharra
- #115 - Support for Symfony 4 - @Nyholm
- #110 - 3.0 - Add repeat expander feature - @LeaklessGfy
- #105 - Possibility to use expanders for multiple matchers - @SpartakusMd
- #104 - Implement PHP 7.0 features - @norberttech
- #102 - Allow to mark JSON properties & XML nodes as optional - @teklakct
- #97 - Allow @...@ to match none or more elements - @Gamesh
- #100 - update deps to phpunit 6.x, fix code and tests - @andreasschacht
- 34afc2 - Prepare matcher for 3.0 release - @norberttech
Fixed
- #98 - broken headings in Markdown files - @bryant1410
-
2.4.018 Feb 2018Release notes
Open source →Changed
- 8b9d57 - Prepare 2.4 release - @norberttech
- #113 - [2.3] Fix bad encoding in Repeat expander - @eliecharra
- #109 - 2.3 - Add repeat expander feature - @LeaklessGfy
-
2.3.004 Sep 2017Release notes
Open source →Changed
- #107 - Allow to mark JSON properties & XML nodes as optional (#102) - @norberttech
- 5be920 - composer.json - @norberttech
- 6c60f4 - hhvm with php 7.1 env at travis - @norberttech
-
2.2.011 Dec 2016Release notes
Open source → -
2.1.020 Oct 2016Release notes
Open source → -
2.0.112 Apr 2016Release notes
Open source →Changed
- #78 - work around bug https://bugs.php.net/bug.php?id=71964 - @ttps://bugs.php.net/bug.php?id=71964
- #76 - Update README.md - @yosmanyga
-
2.0.018 Mar 2016Release notes
Open source →Added
- #64 - PHPMatcher facade in order to simplify developers experience - @norberttech
- #61 - Match expander - @blazarecki
- #60 - IsEmpty expander - @blazarecki
- #59 - php 7 support - @norberttech
Changed
- fddefe - Update CHANGELOG.md - @norzechowicz
- #74 - #53 Added OR operator support - @partikus
- 63de6d - Merge pull request #74 from partikus/feature/or-matcher - @norzechowicz
- #75 - #71 Null value matching problem - @partikus
- 87ff31 - Merge pull request #75 from partikus/bugfix/nullable-value-matching - @norzechowicz
- #73 - Allow to use null with matcher - @blazarecki
- 5fc822 - Merge pull request #73 from blazarecki/allow-null - @norzechowicz
- 914c18 - Update CHANGELOG.md - @norzechowicz
- cbf6f3 - openlss/lib-array2xml version to >=0.0.9 - @[email protected]
- 1fd194 - Update CHANGELOG.md - @norzechowicz
- 8709d9 - Merge pull request #68 from jakzal/phpunit-integration - @norzechowicz
- #68 - PHPUnit integration - @jakzal
- 114669 - Merge pull request #69 from jakzal/phpunit-config - @norzechowicz
- #69 - Remove redundant configurations - @jakzal
- #67 - Use PSR-4 for autoloading - @jakzal
- c3e167 - Merge pull request #67 from jakzal/psr-4 - @norzechowicz
- c097e3 - Update CHANGELOG.md - @norzechowicz
- 9ad59b - Update README.md - @norzechowicz
- bfb6e0 - Merge pull request #64 from norzechowicz/php-matcher-facade - @norzechowicz
- #65 - Cleanup before stable release - @norberttech
- a11daa - Merge pull request #65 from norzechowicz/cleanup - @norzechowicz
- ae724f - Merge pull request #61 from blazarecki/match-expander - @norzechowicz
- ffad87 - Merge pull request #62 from blazarecki/use-travis-container-based-infrastructure - @norzechowicz
- #62 - Move to travis container based infrastructure - @blazarecki
- 443ede - Merge pull request #60 from blazarecki/is-empty-expander - @norzechowicz
- c4917b - Merge pull request #59 from norzechowicz/php7-support - @norzechowicz
-
2.0.0-rc2no date pre-releaseNothing published for this version
-
2.0.0-rc103 Mar 2016 pre-releaseNothing published for this version
-
2.0.0-rc08 Feb 2016 pre-releaseNothing published for this version
-
2.0.0-betano date pre-releaseNothing published for this version
-
2.0.0-alpha225 Jan 2016 pre-releaseNothing published for this version
-
2.0.0-alpha125 Jan 2016 pre-releaseNothing published for this version
-
1.1.808 Feb 2016Release notes
Open source →Changed
- 973e13 - openlss/lib-array2xml version to >=0.0.9 - @[email protected]
- fd87d9 - Merge pull request #57 from hamuhamu/master - @norzechowicz
- #57 - the Content had been duplicated. - @hamuhamu
-
1.1.714 Jul 2015Release notes
Open source →Added
- #54 - test for lowest versions of dependnecies - @norberttech
- #51 - isUrl() pattern expander - @rpalladino
Changed
- 54d740 - Merge pull request #54 from norzechowicz/lowest-dependencies - @norzechowicz
- 51f48d - Merge pull request #51 from rpalladino/isUrl - @norzechowicz
-
1.1.605 Feb 2015Release notes
Open source →Changed
- #50 - CallbackMatcher should not be executed for internal function names - @pskt
- 3fcfd6 - Merge pull request #50 from pskt/callback-matcher-on-function-names - @norzechowicz
-
1.1.526 Jan 2015Release notes
Open source →Changed
- #49 - Ignore strings that can be matched by other matchers in TextMatcher - @norberttech
- 272f53 - Merge pull request #49 from norzechowicz/fix-text-matcher-null - @norzechowicz
-
1.1.414 Dec 2014Release notes
Open source →Added
- #44 - text matcher - @norberttech
Changed
- cb8144 - Merge pull request #44 from norzechowicz/text-matcher - @norzechowicz
-
1.1.311 Dec 2014Release notes
Open source →Added
Changed
- #42 - Update installation instructions - @cakper
- d761fb - Merge pull request #42 from cakper/patch-1 - @norzechowicz
- 6298c3 - Merge pull request #41 from cakper/fix-regex-matcher-edge-case - @norzechowicz
-
1.1.111 Nov 2014Release notes
Open source →Added
- 7c621d - missing integration tests - @norberttech
- #37 - missing documentation for isDateTime and isEmail - @piotrjura
Changed
- #38 - Expanded TRANSFORM_QUOTATION_PATTERN in Json matcher to handle new type matchers - @norberttech
- 4e37e2 - Merge pull request #38 from norzechowicz/json-normalizer - @norberttech
- 335b31 - Merge pull request #37 from piotrjura/datetime-email-expander - @norberttech
- #36 - Datetime email expander - @piotrjura
- 714542 - Merge pull request #36 from piotrjura/datetime-email-expander - @norberttech
- 59de4b - Update README.md - @norberttech
-
1.1.018 Oct 2014Release notes
Open source →Added
- #30 - XmlMatcher - @norberttech
Changed
- #31 - Aggregate expanders - @norberttech
- 206217 - Merge pull request #31 from norzechowicz/aggregate-expanders - @norberttech
- 459f4a - Update README.md - @norberttech
- 565f92 - Update README.md - @norberttech
- 326b11 - README - @norberttech
- db8e9b - Merge pull request #30 from norzechowicz/xml-matcher - @norberttech
- d21c4d - Merge pull request #27 from norzechowicz/expanders - @norberttech
- #27 - Pattern expander mechanism - @norberttech
- 7809ef - Merge pull request #28 from cordoval/patch-1 - @norberttech
- #28 - Update composer.json - @cordoval
- #26 - Type matcher with String, Integer, Number, Double, Boolean and ... - @norberttech
- ed9056 - Merge pull request #26 from norzechowicz/split-type-matcher - @defrag
- 5210c9 - Merge pull request #25 from norzechowicz/naming - @defrag
- f92fb3 - Merge pull request #24 from mmoreram/patch-1 - @norberttech
Fixed
Deprecated
- #25 - PropertyMatcher and match function - @norberttech
-
1.0.908 Feb 2016Release notes
Open source →Changed
- #70 - openlss/lib-array2xml version to >= 0.0.9 - @blazarecki
- 3b6c98 - Merge pull request #70 from blazarecki/change-lib-array2xml-version - @norzechowicz
-
1.0.814 Jul 2015Release notes
Open source →Added
- #55 - tests for lowest versions of dependencies - @norberttech
Changed
- 30304a - Merge pull request #55 from norzechowicz/lowest-dependencies-1.0 - @norzechowicz
-
1.0.730 Sep 2014 -
1.0.615 Sep 2014 -
1.0.527 Jul 2014Release notes
Open source →Changed
- #23 - Update phpunit.xml.dist - @leettastic
- 741c7b - Merge pull request #23 from leettastic/master - @norberttech
-
1.0.422 Jun 2014Release notes
Open source →Added
Changed
- f944b7 - Update README.md - @norberttech
- 58a634 - Merge pull request #20 from norzechowicz/unbounded_array - @defrag
- f8d46c - Merge pull request #17 from K-Phoen/dev-unbounded-arrays - @norberttech
Fixed
- #20 - unbouded array to work with objects & iterateMatch matehod refactoring - @norberttech