tighten/ziggy
A Laravel package that exposes named application routes to JavaScript through a route() helper that mirrors the PHP one. It supports route parameters, model binding, current-route checks and filtering which routes are shared, and can generate its configuration at build time instead of embedding it in the page. TypeScript and several JavaScript frameworks are supported.
Maintenance activity