{"id":21819346,"url":"https://github.com/dflydev/dflydev-util-antpathmatcher","last_synced_at":"2025-04-14T02:28:43.504Z","repository":{"id":2118910,"uuid":"3061302","full_name":"dflydev/dflydev-util-antPathMatcher","owner":"dflydev","description":"Ant Path Matcher Utility","archived":false,"fork":false,"pushed_at":"2023-01-23T23:04:11.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T02:28:35.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dflydev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-28T06:44:33.000Z","updated_at":"2023-01-23T23:02:47.000Z","dependencies_parsed_at":"2023-02-13T04:30:52.777Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/dflydev-util-antPathMatcher","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-util-antPathMatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-util-antPathMatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-util-antPathMatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-util-antPathMatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/dflydev-util-antPathMatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248810774,"owners_count":21165178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T16:18:34.894Z","updated_at":"2025-04-14T02:28:43.485Z","avatar_url":"https://github.com/dflydev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ant Path Matcher Utility\n========================\n\nAn [Ant](http://ant.apache.org/) path pattern matcher for PHP. Implementation kindly borrowed from [Spring](http://www.springsource.org).\n\nRequirements\n------------\n\n * PHP 5.3+\n\nUsage\n-----\n\n```php\n\u003c?php\nuse dflydev\\util\\antPathMatcher\\AntPathMatcher;\n$antPathMatcher = new AntPathMatcher();\nif ($antPathMatcher-\u003ematch('foo/**/baz/*.txt', 'foo/bar/baz/hello-world.txt')) {\n  echo \"This is true!\\n\";\n}\n```\n\nLicense\n-------\n\nThis library is licensed under the New BSD License - see the LICENSE file for details.\n\nCommunity\n---------\n\nIf you have questions or want to help out, join us in the\n[#dflydev](irc://irc.freenode.net/#dflydev) channel on irc.freenode.net.\n\nNot Invented Here\n-----------------\n\nThere are other PHP ports of Ant-like pattern matching but most were\neither found to be incomplete, tied to actually walking a disk, or so\nheavily embedded into another larger project it was not feasible to\nuse.\n\nThis implementation is purely string based and is based on the\nAntPathMatcher found in Spring.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-util-antpathmatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fdflydev-util-antpathmatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-util-antpathmatcher/lists"}