PackageTrack
Sign in Get early access

kcs/class-finder

Utility classes to help discover other classes/namespaces

0.6.1 2.0M downloads/mo #2538 most downloaded on Packagist alekitto/class-finder

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 13 months

Some releases are documented

notes for 10 of 20 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

20 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

20 releases · Jan 2018 to Feb 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 0.6.1 20 Feb 2025
    Release notes

    Fixes

    • Support PHP 8.4
    • Allow thecodingmachine/safe 3.x

    Full Changelog: 0.6.0...0.6.1

    Open source →
  2. 0.6.0 01 Dec 2024
    Release notes

    What's new

    • Generate classmap from offline finders (35172ed)
    • Fully support phpdocumentor/reflection 4.x (dda7d8f)
    • Add finder based on nikic/php-parser (8f270eb)

    Fixes

    • Normalize path separator
    • Skip invalid files/classes in offline finders

    Full Changelog: 0.5.4...0.6.0

    Open source →
  3. 0.5.4 14 Oct 2024
    Release notes

    What's Changed

    • Iterate psr-0/4 fallback dirs in composer finders (#23)

    Full Changelog: 0.5.3...0.5.4

    Open source →
  4. 0.5.3 30 Aug 2024
    Release notes

    fix: fixed bogon classes regex

    Open source →
  5. 0.5.2 22 Aug 2024
    Release notes

    minor(ci): upload test results to codecov

    Open source →
  6. 0.5.1 29 Jul 2024
    Release notes

    What's changed

    • Added support for phpdocumentor 6
    • Added FileFinder to abstract recursive and file-based finders
    • Added ClassMap finder and iterator

    Fixes

    • Updated GHA actions
    • Do not call rewind on iteration construction
    • Add list of files known to cause errors to be skipped

    Full Changelog: 0.5.0...0.5.1

    Open source →
  7. 0.5.0 22 Mar 2024
    Release notes

    Breaking changes

    • Autoloading method is used by default from ComposerFinder
      To retain the previous behavior, the use of autoloader must be explicitly disabled. For example:
      $finder = (new ComposerFinder())
          ->in($path)
          ->useAutoloading(false);

    What's changed

    • useAutoloading can now be used to instruct the finder to use autloading or include_once while iterating classes
    • Expose skipNonInstantiable method to skip abstract classes, interfaces and traits
    • Add skipBogonFiles method to reflection finders to prevent fatal errors in well-known cases
    • Add roave/better-reflection reflection factory

    Fixes

    • unwind error handlers stack to remove class-finder error handler
    • fix a typo in README by @szepeviktor in #16

    New Contributors

    Full Changelog: 0.4.0...0.5.0

    Open source →
  8. 0.4.0 11 Feb 2024
    Release notes

    What's Changed

    • add filter for files by @alleknalle in #10
      You can now call pathFilter on the finders to filter files by filepath before inclusion

    New Contributors

    Full Changelog: 0.3.2...0.4.0

    Open source →
  9. 0.3.2 29 Mar 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.3.1...0.3.2

    Open source →
  10. 0.3.1 04 Mar 2022
    Release notes

    CHANGES:

    • Drop support for PHP 7.4, only 8.0+ is supported now
    • Support phpdocumentor/reflection 5.0
    • Fix #5: fatal error if error handler do not return bool
    • Add package documentation (https://alekitto.github.io/class-finder/)
    Open source →
  11. 0.3.0 31 Mar 2021

    Nothing published for this version

  12. 0.2.2 22 Feb 2021

    Nothing published for this version

  13. 0.2.1 20 Feb 2021

    Nothing published for this version

  14. 0.2.0 19 Dec 2020

    Nothing published for this version

  15. 0.1.5 27 Feb 2020

    Nothing published for this version

  16. 0.1.4 14 Jan 2020

    Nothing published for this version

  17. 0.1.3 25 Nov 2019

    Nothing published for this version

  18. 0.1.2 19 Jan 2018

    Nothing published for this version

  19. 0.1.1 17 Jan 2018

    Nothing published for this version

  20. 0.1 11 Jan 2018

    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