PackageTrack
Sign in Get early access

jfcherng/php-diff

A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).

7.0.1 6.3M downloads/mo #1388 most downloaded on Packagist jfcherng/php-diff

What this package is like to depend on

Last release 2 months ago

22 Jun 2026

Ships unpredictably

gaps range from 1 weeks to 2.1 years

Rarely documented

notes for 10 of 149 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

151 releases · first in 2018

3 releases in the last 12 months

see the full history below

Release timeline

151 releases · Jun 2018 to Jun 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 151
  1. 7.0.1 22 Jun 2026
    Release notes
    • Fix comparing numeric strings (e.g. '0' vs '00000') producing an empty diff (#94).
    Open source →
  2. 7.0.0 06 Apr 2026
    Release notes

    There is no new feature in this major release.
    The main focus is to modernize the codebase and improve type safety.

    • The minimum supported PHP version is now 8.3.
    • Introduce DifferOptions value object.
    • Introduce RendererOptions value object.

    For migration guide, see https://github.com/jfcherng/php-diff/blob/v7/UPGRADING/UPGRADING_v7.md

    Open source →
  3. 7.0.0-alpha.2 11 Mar 2023 pre-release

    Nothing published for this version

  4. 7.0.0-alpha.1 10 Mar 2023 pre-release

    Nothing published for this version

  5. 6.16.3 22 Jun 2026
    Release notes
    • Fix comparing numeric strings (e.g. '0' vs '00000') producing an empty diff (#94).
    Open source →
  6. 6.16.2 10 Mar 2024
    Release notes
    • fix: remove debug print
    Open source →
  7. 6.16.1 07 Mar 2024
    Release notes
    • fix: Differ::getStatistics() not working when no difference
    Open source →
  8. 6.16.0 05 Mar 2024
    Release notes
    • chore: fix deprecated php-cs-fixer options
    • feat: add new differ option: fullContextIfIdentical (#79)
    • chore: fix typos (#75)
    Open source →
  9. 6.15.3 15 Jun 2023
    Release notes
    • chore: add cze (Czech) translation (#74)
    Open source →
  10. 6.15.2 05 Jun 2023

    Nothing published for this version

  11. 6.15.1 25 May 2023

    Nothing published for this version

  12. 6.15.0 21 May 2023

    Nothing published for this version

  13. 6.14.2 15 Mar 2023

    Nothing published for this version

  14. 6.14.1 11 Mar 2023

    Nothing published for this version

  15. 6.14.0 10 Mar 2023

    Nothing published for this version

  16. 6.13.1 27 Feb 2023

    Nothing published for this version

  17. 6.13.0 18 Jan 2023

    Nothing published for this version

  18. 6.12.1 26 Sep 2022

    Nothing published for this version

  19. 6.12.0 25 Sep 2022

    Nothing published for this version

  20. 6.11.6 26 Jun 2022

    Nothing published for this version

  21. 6.11.5 02 Apr 2022

    Nothing published for this version

  22. 6.11.4 07 Mar 2022

    Nothing published for this version

  23. 6.11.3 28 Feb 2022

    Nothing published for this version

  24. 6.11.2 21 Feb 2022

    Nothing published for this version

  25. 6.11.1 28 Dec 2021

    Nothing published for this version

  26. 6.11.0 25 Nov 2021

    Nothing published for this version

  27. 6.10.17 10 Mar 2024
    Release notes

    Ported changes from 6.16.x:

    • fix: remove debug print
    Open source →
  28. 6.10.16 07 Mar 2024
    Release notes

    Ported changes from 6.16.x:

    • fix: Differ::getStatistics() not working when no difference
    Open source →
  29. 6.10.15 05 Mar 2024
    Release notes

    Ported changes from 6.16.x:

    • chore: fix deprecated php-cs-fixer options
    • feat: add new differ option: fullContextIfIdentical (#79)
    • chore: fix typos (#75)
    Open source →
  30. 6.10.14 15 Jun 2023

    Nothing published for this version

  31. 6.10.13 05 Jun 2023

    Nothing published for this version

  32. 6.10.12 21 May 2023

    Nothing published for this version

  33. 6.10.11 15 Mar 2023

    Nothing published for this version

  34. 6.10.10 11 Mar 2023

    Nothing published for this version

  35. 6.10.9 10 Mar 2023

    Nothing published for this version

  36. 6.10.8 18 Jan 2023

    Nothing published for this version

  37. 6.10.7 26 Sep 2022

    Nothing published for this version

  38. 6.10.6 25 Sep 2022

    Nothing published for this version

  39. 6.10.5 07 Aug 2022

    Nothing published for this version

  40. 6.10.4 02 Apr 2022

    Nothing published for this version

  41. 6.10.3 29 Mar 2022

    Nothing published for this version

  42. 6.10.2 02 Sep 2021

    Nothing published for this version

  43. 6.10.1 02 Sep 2021

    Nothing published for this version

  44. 6.10.0 19 Mar 2021

    Nothing published for this version

  45. 6.9.0 07 Dec 2020

    Nothing published for this version

  46. 6.8.0 29 Oct 2020

    Nothing published for this version

  47. 6.7.7 23 Aug 2020

    Nothing published for this version

  48. 6.7.6 22 Aug 2020

    Nothing published for this version

  49. 6.7.5 10 Aug 2020

    Nothing published for this version

  50. 6.7.4 06 Jul 2020

    Nothing published for this version

  51. 6.7.3 27 May 2020

    Nothing published for this version

  52. 6.7.2 26 Apr 2020

    Nothing published for this version

  53. 6.7.1 06 Apr 2020

    Nothing published for this version

  54. 6.7.0 06 Apr 2020

    Nothing published for this version

  55. 6.6.4 31 Mar 2020

    Nothing published for this version

  56. 6.6.3 30 Mar 2020

    Nothing published for this version

  57. 6.6.2 29 Mar 2020

    Nothing published for this version

  58. 6.6.1 19 Mar 2020

    Nothing published for this version

  59. 6.6.0 12 Mar 2020

    Nothing published for this version

  60. 6.5.7 11 Mar 2020

    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