Ross ROSS = Recommend OSS · open-source software intelligence for agents

laracasts/PHP-Vars-To-Js-Transformer

Transform PHP data to JavaScript. observed · 2026-08-28

github.com/laracasts/PHP-Vars-To-Js-Transformer · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

65/100

  • Activity 69
  • Release rhythm 40
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 362
  • age_days: 4572
  • days_rel: 190
  • days_push: 190
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2202 stars · 210 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity maintenance

serialization templating web-development frontend backend php laravel php-to-javascript view-binding composer-package web-server

4 sources

Member repositories

RepositoryRoleHealth v2
laracasts/PHP-Vars-To-Js-Transformermain65

For agents

markdown · JSON · MCP: product_card(name="laracasts/PHP-Vars-To-Js-Transformer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem