# tighten/ziggy

Use your Laravel routes in JavaScript.

Repository: https://github.com/tighten/ziggy
Canonical: https://ross.abutalabs.com/products/ziggy
Language: JavaScript
License: MIT
License Family: permissive
Topics: laravel, routes, javascript, ziggy
Last push: 2026-08-18T17:29:27+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3318, "days_push": 15, "days_rel": 15, "gap_med": 34.0, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4314, forks 273 (observed 2026-08-28T04:08:41.804017+00:00)

## What it is
Ziggy is a PHP/JavaScript library that exposes Laravel's named routes to JavaScript via a route() helper function. It generates URLs from named routes with parameters, supporting Vue, React, and SPAs.

## Use cases
- generate Laravel route URLs in JavaScript
- use named routes in Vue or React components
- build SPAs that reference backend Laravel routes
- avoid hardcoding URLs in frontend JavaScript
- share route definitions between Laravel backend and JS frontend

## When to choose
- you have a Laravel backend with a JavaScript frontend (Vue, React, Inertia, SPA)
- you want frontend code to stay in sync with backend route definitions
- you need route-model binding and parameter substitution in JS

## When to avoid
- your project doesn't use Laravel
- you have no JavaScript frontend or only server-rendered Blade without JS routing needs

## Facets
- artifact type: library
- maturity: active
- function: routing, web-framework, developer-tools
- domain: web-development, frontend, backend
- platform: browser, cross-platform
- tags: laravel, javascript, named-routes, vue, react, spa, typescript, php, nodejs, web-server

## Member repositories
- tighten/ziggy (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:41.804017+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-29T18:21:46.907274+00:00, confidence not recorded.
  - readme: https://github.com/tighten/ziggy (fetched 2026-08-28T04:08:41.804017+00:00, sha 88d18c887886)
- Data as of 2026-08-30T08:39:29.467469+00:00.
