This repository was archived by the owner on Jan 21, 2024. It is now read-only.
Change str_match and add str_extract
Breaking changes:
str_matchno longer returns matches from capture groups, it only returns a boolean value if the regex pattern matches or not.str_extractwas added to cover this need.
Changes:
str_extractreturns either a matched capture group OR null if nothing is matched.user()now accepts an optional parameteruser($guard)for if an app uses multiple auth guards.