PackageTrack
Sign in Get early access

shipmonk/phpstan-baseline-per-identifier

Split your PHPStan baseline into multiple files, one per error identifier. Supports both neon baseline and PHP baseline.

2.3.0 2.1M downloads/mo #1753 most downloaded on Packagist shipmonk-rnd/phpstan-baseline-per-identifier

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 5 months

Nearly every release is documented

notes for 10 of 11 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

11 releases · first in 2024

2 releases in the last 12 months

see the full history below

Release timeline

11 releases · Oct 2024 to Dec 2025
2025 2026
Release Pre-release

Releases

latest 11
  1. 2.3.0 08 Dec 2025
    Release notes

    New features

    • Minimal diff when regenerating baselines (#52)
      • When regenerating baseline files, the order of existing errors is now preserved.
      • New errors are inserted at their sorted position among existing entries.
      • This results in smaller diffs when committing updated baselines, making code reviews easier.
    • Automatic cleanup of orphaned baseline files (#53)
      • The split-phpstan-baseline command now automatically deletes baseline files that no longer have corresponding errors.
      • You can remove any manual deletion step from your scripts:
     {
         "scripts": {
             "generate:baseline:phpstan": [
                 "phpstan --generate-baseline=baselines/_loader.neon",
    -            "find baselines/ -type f -not -name _loader.neon -delete",
                 "split-phpstan-baseline baselines/_loader.neon"
             ]
         }
     }
    Open source →
  2. 2.2.0 11 Sep 2025
    Release notes

    New features:

    Open source →
  3. 2.1.6 10 Apr 2025
    Release notes

    Improvements

    • Add --no-error-count CLI option to remove error counts from baselines (#39, @maxime-vf)
    Open source →
  4. 2.1.5 17 Mar 2025
    Release notes

    Improvements:

    Open source →
  5. 2.1.4 12 Feb 2025
    Release notes

    Fixes:

    • PHP baseline: fix result cache invalidation upon manual edit (#35, @gharlan)
    Open source →
  6. 2.1.3 20 Jan 2025
    Release notes

    Fixes:

    Open source →
  7. 2.1.2 31 Dec 2024
    Release notes

    Fixes:

    Open source →
  8. 2.1.1 13 Dec 2024
    Release notes

    Fixes:

    • Non-legacy approach does not need neon config (#24)
    Open source →
  9. 2.1.0 08 Dec 2024
    Release notes

    New features

    Open source →
  10. 2.0.0 22 Nov 2024
    Release notes

    Major changes

    • Preferred approach changed (#10)
      • Use vendor/bin/split-phpstan-baseline instead of --error-format
      • Script approach can utilize PHPStan's result cache!

    New features

    • Support PHP baselines (#12)
      • Just use baselines/loader.php instead of baselines/loader.neon

    Dependencies

    • requires phpstan/phpstan 2.0 (#8)
    Open source →
  11. 1.0.0 03 Oct 2024

    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