# spatie/laravel-web-tinker

Tinker in your browser

Repository: https://github.com/spatie/laravel-web-tinker
Canonical: https://ross.abutalabs.com/products/laravel-web-tinker
Homepage: https://spatie.be/open-source
Language: JavaScript
License: MIT
License Family: permissive
Topics: php, laravel, debug, tinker, tool
Last push: 2026-06-02T06:36:59+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 85, release rhythm 81, longevity 100
- inputs: {"age_days": 2828, "days_push": 92, "days_rel": 128, "gap_med": 14, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1217, forks 76 (observed 2026-08-28T04:04:01.427363+00:00)

## What it is
A Laravel package that exposes Artisan Tinker's REPL through a browser-based route, letting developers run PHP code against their application interactively. It is intended for local development only, since it can execute arbitrary code.

## Use cases
- run tinker in the browser instead of the terminal
- interactively test Eloquent queries in a Laravel app
- debug Laravel application code without copy-pasting into artisan tinker
- quickly experiment with Laravel code snippets during development
- inspect application state from a browser REPL

## When to choose
- you develop Laravel apps and want a friendlier tinker experience than the terminal
- you frequently iterate on code snippets and want output history and editing in a browser
- you want a local-only REPL wired into your Laravel project with minimal setup

## When to avoid
- you need a REPL in production or any environment with real data - it can run arbitrary code
- your project is not a Laravel application
- you only need occasional one-off PHP execution where artisan tinker suffices

## Facets
- artifact type: plugin
- maturity: active
- function: developer-tools, cli
- domain: developer-tools, web-development
- platform: php, browser
- tags: laravel, tinker, repl, debugging, spatie, dev-dependency, command-line, web-server

## Member repositories
- spatie/laravel-web-tinker (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.427363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:09.614197+00:00, confidence not recorded.
  - readme: https://github.com/spatie/laravel-web-tinker (fetched 2026-08-28T04:04:01.427363+00:00, sha f52d1d6e28c6)
  - homepage: https://spatie.be/open-source (fetched 2026-08-29T12:25:02.230972+00:00, sha 6ed5abf69535)
  - site_page: https://spatie.be/about-us (fetched 2026-08-29T12:25:02.262085+00:00, sha d3cb88e4b34c)
  - site_page: https://spatie.be/docs (fetched 2026-08-29T12:25:02.259581+00:00, sha 08e024d86d95)
- Data as of 2026-08-30T08:39:29.467469+00:00.
