league/construct-finder
Locate PHP code constructs (classes, interfaces, traits, enums) within one or more directories. Returns construct objects or just names, with type-specific finders and support for excluding files via simple wildcard patterns.
league/construct-finder scans PHP source directories to locate classes, interfaces, traits, and enums. Use ConstructFinder::locatedIn(...) to search one or many folders and retrieve either rich Construct value objects (name + type) or just their fully-qualified names.
Ideal for tooling, code generation, or automated discovery, it supports type-specific queries and flexible file exclusion via wildcard patterns.
Construct) or names only for lightweight use*Test.php, */Tests/*)How can I help you explore Laravel packages today?