PackageTrack
Sign in Get early access

particle/validator

Flexible and highly usable validation library with no dependencies.

v2.3.6 2.4M downloads/mo #2204 most downloaded on Packagist particle-php/Validator

What this package is like to depend on

Last release 8 months ago

09 Dec 2025

Ships unpredictably

gaps range from 2 weeks to 3.9 years

Some releases are documented

notes for 10 of 26 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

28 releases · first in 2015

1 release in the last 12 months

see the full history below

Release timeline

28 releases · Mar 2015 to Dec 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. v2.3.6 09 Dec 2025
    Release notes
    Open source →
  2. v2.3.5 12 Dec 2022
    Release notes

    Bugfix

    • @bradymiller: php 8.2 fix - date was being flagged as not valid even if valid (#197)
    Open source →
  3. v2.3.4 07 Jan 2019
    Release notes

    Bugfixes:

    • @vova07: Fix EachRule bug with non-array items (#187)
    • @RobQuistNL: Fix issue with rusing validator rule NotEmpty and IsRequired (#192)
    Open source →
  4. v2.3.3 12 Sep 2018
    Release notes

    In this patch release

    • @vova07 fixed an issue with the traverse method using keys with the array dot notation
    Open source →
  5. v2.3.2 30 Jan 2018
    Release notes

    In this patch version

    • Consider the break chain only in case the validation fail (#177), thank you @vova07
    Open source →
  6. v2.3.1 18 Jan 2018
    Release notes

    Patch version

    Fixed in this release:

    • Some documentation issues (thanks @creocoder)
    • Type validators now break the validation chain so there wont be any typecasting issues in the validator itself (thanks @vova07)
    Open source →
  7. v2.3.0 21 Jul 2017
    Release notes

    In this release

    • Added a hash validation thanks to @camcima
    • Improved UUID validation to support all different versions thanks to @jschreuder
    Open source →
  8. v2.2.0 05 Aug 2016
    Release notes

    In this release

    • Several code improvements by @localheinz
    • The integer rule has now the option to do a strict integer check thanks to @rcatlin
    • a ->string() validation rule is now available to check if a value is a string thanks to @localheinz
    • a ->float() validation rule is now available to check if a value is a float thanks to @localheinz
    • The dependencies of the project are now removed, and are suggested via composer instead. If you want to use the ->phone() or ->creditCard() rules, the corresponding libraries must be installed manually.
    Open source →
  9. v2.1.1 05 Aug 2016
    Release notes

    Patch release

    In v2.1.0, two dependencies were introduced. One of witch requires the PHP extension bcmath. This lead to a complaining composer if you wanted to install v2.1.0 and do not have the PHP extension available.

    Thanks to @jschreuder this came to our attention and we implemented the fix he suggested: Making the dependencies optional. This involves, that if you installed v2.1.0 already, and you are using the Phone or CreditCard rule, you now have to install the dependencies manually that are suggested by composer. If you do not use the Phone or CreditCard rule you don't need to take any action.

    We are sorry for the inconvenience this might have caused, we did our best to resolve this as good as we were able to.

    Open source →
  10. v2.1.0 17 Mar 2016

    Nothing published for this version

  11. v2.0.1 14 Mar 2016

    Nothing published for this version

  12. v2.0.0 30 Oct 2015

    Nothing published for this version

  13. v2.0.0-alpha.2 23 Sep 2015 pre-release

    Nothing published for this version

  14. 2.0.0-alpha.1 26 Aug 2015 pre-release

    Nothing published for this version

  15. v1.0.7 07 Jan 2019
    Release notes

    What

    • @RobQuistNL: Fix issue in reuseable validator on NotEmpty and Required (#191)
    Open source →
  16. v1.0.6 30 Oct 2015

    Nothing published for this version

  17. v1.0.5 30 Jun 2015

    Nothing published for this version

  18. v1.0.4 19 Jun 2015

    Nothing published for this version

  19. v1.0.3 19 Jun 2015

    Nothing published for this version

  20. v1.0.2 04 Jun 2015

    Nothing published for this version

  21. v1.0.1 01 Jun 2015

    Nothing published for this version

  22. v1.0.0 31 May 2015

    Nothing published for this version

  23. v0.4.2 22 May 2015

    Nothing published for this version

  24. v0.4.1 20 May 2015

    Nothing published for this version

  25. v0.4.0 20 May 2015

    Nothing published for this version

  26. v0.3.0 12 Apr 2015

    Nothing published for this version

  27. v0.2.0 06 Apr 2015

    Nothing published for this version

  28. v0.1.0 31 Mar 2015

    Nothing published for this version

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