webmozart/glob
Ant-like globbing for PHP with support for , ?, [], {}, and // to match directories. Glob filesystem paths (including stream wrappers), match globs against strings, and filter path arrays. Uses native glob() when possible; throws on invalid patterns.
/**/, {a,b} alternation) without custom implementation, reducing technical debt and development time.glob() lacks features (e.g., stream wrapper compatibility, path filtering).glob(), such as recursive directory matching (/**/), character classes, or stream wrapper support (e.g., phar://).*.jpg) suffices; native glob() is faster and avoids dependency overhead.glob() with superior feature support (e.g., /**/, stream wrappers) and consistent behavior across OS. The package intelligently falls back to native glob() for simple cases, ensuring performance isn't compromised. Integration is straightforward with clear APIs for filtering, matching, and iteration—ideal for tasks like cache warming or asset scanning in Laravel apps."How can I help you explore Laravel packages today?