{"adoption": {"forks": 118, "observed_at": "2026-08-28T04:05:26.730935+00:00", "stars": 1720}, "canonical_url": "https://ross.abutalabs.com/products/opening-hours", "card": {"archived": false, "artifact_type": "library", "description": "Query and format a set of opening hours", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["date-time", "sdk"], "health_score": 97, "homepage": "https://freek.dev/595-managing-opening-hours-with-php", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["spatie/opening-hours"], "name": "spatie/opening-hours", "platform": ["php"], "pushed_at": "2026-08-03T19:08:34+00:00", "repo": "spatie/opening-hours", "stars": 1720, "tags": ["opening-hours", "schedule", "business-hours", "calendar", "spatie"], "topics": ["php", "shop", "opening-hours", "schedule", "calendar"], "urls": [], "use_cases": ["check if a store is open right now in php", "display weekly opening hours on a website", "query opening hours for a specific date with holiday exceptions", "format business hours per day for a shop", "determine if a datetime falls within business hours", "handle recurring holiday closures in a schedule"], "what_it_is": "A PHP library for modeling, querying, and formatting a business's opening hours, including regular weekly schedules and date-based exceptions. It integrates with Carbon via cmixin/business-time for direct use on date objects.", "when_to_avoid": ["you need full calendar or event scheduling beyond opening hours", "you're not working in PHP", "you need timezone-aware multi-location scheduling with complex rules"], "when_to_choose": ["you need to model and query business opening hours in PHP or Laravel", "you need exception dates like holidays on top of a weekly schedule", "you want to display 'open now' status on a website"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/opening-hours", "repo": "spatie/opening-hours", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+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-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+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:05:26.730935+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:26.730935+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:34:05.690414+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a9217c27989939d52f4e0ab8a0c4a9c9ff88e82b18ab8789bb1eb773a9ce3734", "fetched_at": "2026-08-28T04:05:26.730935+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/opening-hours"}, {"content_hash": "08b30c5df94281d62d3ba6deb166955f7c7acce68bd81e6b49e3d7788734ee92", "fetched_at": "2026-08-29T11:09:52.681803+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/595-managing-opening-hours-with-php"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T11:09:52.684370+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 92}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3627, "days_push": 30, "days_rel": 55, "gap_med": 13, "n_releases_24m": 10}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}