https://github.com/tawk/tawk-url-utils
https://github.com/tawk/tawk-url-utils
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tawk/tawk-url-utils
- Owner: tawk
- Created: 2021-10-04T11:12:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T09:26:23.000Z (about 1 year ago)
- Last Synced: 2025-05-09T00:34:36.323Z (11 months ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Tawk URL Utils Module
## Overview
A tawk.to utility library for URLs.
## Modules
### Url Pattern Matcher
This module handles matching of the provided URL to the provided patterns.
#### match(string $current_url, array $patterns)
Matches the provided url and patterns. Returns `true` if it matches. Otherwise, `false`.
##### Example
```php