{"adoption": {"forks": 210, "observed_at": "2026-08-28T04:06:25.669856+00:00", "stars": 2202}, "canonical_url": "https://ross.abutalabs.com/products/php-vars-to-js-transformer", "card": {"archived": false, "artifact_type": "library", "description": "Transform PHP data to JavaScript.", "domain": ["web-development", "frontend", "backend"], "enriched": true, "function": ["serialization", "templating"], "health_score": 78, "homepage": "https://packagist.org/packages/laracasts/utilities", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["laracasts/PHP-Vars-To-Js-Transformer"], "name": "laracasts/PHP-Vars-To-Js-Transformer", "platform": ["php"], "pushed_at": "2026-02-24T22:13:14+00:00", "repo": "laracasts/PHP-Vars-To-Js-Transformer", "stars": 2202, "tags": ["laravel", "php-to-javascript", "view-binding", "composer-package", "web-server"], "topics": [], "urls": [], "use_cases": ["pass PHP data from controllers to JavaScript in Laravel", "share server-side variables with frontend scripts", "inject Eloquent models into page JavaScript", "avoid manually _encoding data into blade templates", "bind JS vars to a footer partial in Laravel apps"], "what_it_is": "A PHP library (laracasts/utilities) that transforms server-side PHP data into JavaScript variables, primarily via a Laravel service provider and facade. It binds serialized PHP strings, arrays, and collections into a chosen view so they are accessible client-side.", "when_to_avoid": ["you build a SPA or API-driven frontend with no server-rendered views", "you need complex client-side state management rather than simple data passing"], "when_to_choose": ["you have a Laravel or PHP server-rendered app and need to hand data to client-side JS", "you want a simple facade-based API for passing vars to views"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-vars-to-js-transformer", "repo": "laracasts/PHP-Vars-To-Js-Transformer", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "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:06:25.669856+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:25.669856+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:47:02.550332+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "61d48617b331368cd713985c2e2763e39ba482263900c850dd715cb097d6fc17", "fetched_at": "2026-08-28T04:06:25.669856+00:00", "kind": "readme", "missing": false, "url": "https://github.com/laracasts/PHP-Vars-To-Js-Transformer"}, {"content_hash": "63e00126e61c4fa6c88d855ee45d9da1bb1a9462dda79abcc3bde93315dfbabc", "fetched_at": "2026-08-29T10:27:04.259788+00:00", "kind": "homepage", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities"}, {"content_hash": "29af46773a453022e0c879623a08680c7c6083df27d28652bcd90b1c15d2af00", "fetched_at": "2026-08-29T10:27:04.270568+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/about"}, {"content_hash": "5c1d3046a7761319b4c6fb1353862aa1eacaab29baccc202e84fb41be74990bb", "fetched_at": "2026-08-29T10:27:04.268915+00:00", "kind": "site_page", "missing": false, "url": "https://packagist.org/packages/laracasts/utilities/stats"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 40}, "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": 4572, "days_push": 190, "days_rel": 190, "gap_med": 362, "n_releases_24m": 2}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}