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.
alpine and musl-based environments: use GLOB_BRACE only when defined thanks to @Firehed and @marcoshCHANGELOG.md to comply with phly/keep-a-changelog semantics thanks to @Nek- and @OcramiusGlob::FILTER_VALUE for Glob::filter()Glob::FILTER_KEY for Glob::filter()Glob::toRegEx()Glob::getStaticPrefix()Glob::ESCAPE flag - escaping is now always enabled$delimiter to Glob::toRegEx()Symbol classglob()glob() function
whenever possible[a-c]? which matches any character[abc] which match any of the specified
characters[^abc] which match any but
the specified charactersTestUtil classRecursiveDirectoryIterator now inherits from \RecursiveDirectoryIterator
for performance reasons. Support for seek() was removed on PHP versions
< 5.5.23 or < 5.6.7Glob final** to be used within two separators only: /**/. This improves
performance while maintaining equal expressiveness{ab,cd}* does not match directory separators
anymore, but ** doesGlob::ESCAPE
to any of the Glob methodsInvalidArgumentException when globs are
not absoluteHow can I help you explore Laravel packages today?