{"adoption": {"forks": 49, "observed_at": "2026-08-28T04:03:40.498150+00:00", "stars": 1123}, "canonical_url": "https://ross.abutalabs.com/products/spatie-regex", "card": {"archived": false, "artifact_type": "library", "description": "A sane interface for php's built in preg_* functions", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["parser", "developer-tools"], "health_score": 59, "homepage": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["spatie/regex"], "name": "spatie/regex", "platform": ["php"], "pushed_at": "2026-01-31T10:29:44+00:00", "repo": "spatie/regex", "stars": 1123, "tags": ["regex", "preg", "string-processing", "fluent-api"], "topics": ["php", "regular-expression", "regex", "hacktoberfest"], "urls": [], "use_cases": ["match regex patterns in php without preg_* quirks", "extract capturing groups from strings", "replace text with regex callbacks", "get all regex matches in a subject", "handle no-match cases with defaults"], "what_it_is": "A PHP library providing a clean, object-oriented wrapper around PHP's built-in preg_* regex functions. It eliminates awkward patterns like pass-by-reference parameters and inconsistent false/null error returns.", "when_to_avoid": ["you need maximum performance with zero overhead", "you only use regex occasionally and raw preg_* is fine", "you're not working in PHP"], "when_to_choose": ["you use PHP's preg_* functions regularly and want a cleaner API", "you want exceptions instead of false/null return values", "you prefer fluent, object-oriented regex results"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spatie-regex", "repo": "spatie/regex", "role": "main", "score": 52}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:40.498150+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:40:53.840455+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f0391b1ec72a41096a5caa8ccd0c1112b00c9b8078e1db5dc0c61258bd6eb2a0", "fetched_at": "2026-08-28T04:03:40.498150+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/regex"}, {"content_hash": "4b21b6c6fa85b4d0d97e31ca441b4682a96f9c22496d14fd837ebc9cd7d58df2", "fetched_at": "2026-08-29T12:44:18.863676+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/549-a-package-to-easily-work-with-regex-in-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T12:44:18.873598+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 65, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3668, "days_push": 214, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 52, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}