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

laracasts/PHP-Vars-To-Js-Transformer

Transform PHP data to JavaScript. observed · 2026-10-20

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

Health v2 · maintenance only

59/100

  • Activity 61
  • Release rhythm 33
  • Longevity 100
How is this computed?

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

  • gap_med: 362
  • age_days: 4621
  • days_rel: 239
  • days_push: 239
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

2199 stars · 209 forks observed · 2026-10-20

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-Transformermain59

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem