Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Ant Path Matcher

Ant Path Matcher Laravel Package

dflydev/ant-path-matcher

PHP implementation of Ant-style path matching. Compile glob-like patterns using **, * and ? wildcards into matchers, then test paths against them. Useful for routing, file filtering, and access rules where simple prefix checks fall short.

View on GitHub
Deep Wiki
Context7

dflydev/ant-path-matcher is a PHP implementation of Ant-style path matching, bringing Spring’s familiar AntPathMatcher semantics to PHP applications. It compares request paths, route-like URIs, or filesystem-style paths against glob expressions using *, **, and ? wildcards—useful for routing, access rules, and path-based filtering.

  • Supports Ant wildcards: * (one segment), ** (zero or more segments), and ? (single character)
  • Matches patterns and extracts URI template variables such as {id}
  • Handles leading/trailing separators and variable path segments consistently
  • Lightweight, framework-agnostic, and easy to drop into any PHP project
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route