# laravel/wayfinder

Repository: https://github.com/laravel/wayfinder
Canonical: https://ross.abutalabs.com/products/wayfinder
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-08-22T02:54:22+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 37
- inputs: {"age_days": 524, "days_push": 11, "days_rel": 29, "gap_med": 6, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1811, forks 109 (observed 2026-08-28T04:05:39.606598+00:00)

## What it is
Laravel Wayfinder is a Composer package plus Vite plugin that generates fully-typed, importable TypeScript functions from Laravel controllers and routes. It lets frontend code call Laravel endpoints like regular functions without hardcoding URLs or manually syncing route changes.

## Use cases
- generate typed TypeScript functions for Laravel routes
- call Laravel backend endpoints from a TypeScript frontend without hardcoding URLs
- keep frontend route links in sync with backend route changes automatically
- avoid guessing route parameters when linking to Laravel controllers
- integrate Laravel routes into a Vite build pipeline
- replace manually maintained API client files in a Laravel + Inertia app

## When to choose
- you build a Laravel app with a TypeScript frontend (Inertia, Vue, React) and want type-safe route handling
- you are tired of hardcoding URLs and manually updating frontend links after backend route changes
- you want route definitions generated automatically during Vite builds and dev server runs

## When to avoid
- your frontend is not TypeScript-based
- you need a stable v1 API — Wayfinder is in beta and its API may change
- you do not use Vite or are unwilling to run a generation step in your build

## Facets
- artifact type: library
- maturity: experimental
- function: routing, sdk, developer-tools
- domain: web-development, frontend, backend, developer-tools
- platform: php
- tags: laravel, typescript, vite-plugin, route-generation, type-safety, inertia, code-generation, nodejs, web-server

## Member repositories
- laravel/wayfinder (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.606598+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-30T03:21:16.059537+00:00, confidence not recorded.
  - readme: https://github.com/laravel/wayfinder (fetched 2026-08-28T04:05:39.606598+00:00, sha 5b3c1615766f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
