{"library":"ziggy-js","type":"library","category":null,"description":"Ziggy provides a JavaScript `route()` function that seamlessly integrates with Laravel's named routes, enabling consistent URL generation in frontend applications. The current stable version is 2.6.2, and the package maintains an active release cadence with frequent patch and minor updates, reflecting ongoing development and support. Its core differentiator lies in its ability to dynamically expose Laravel's PHP-defined routes to the JavaScript environment via a Blade directive, eliminating the need to hardcode URLs or duplicate routing logic. This integration includes support for advanced Laravel features such as route-model binding, automatic handling of query parameters, and robust TypeScript definitions for a type-safe development experience. Ziggy aims to simplify the development of single-page applications (SPAs) and traditional frontend projects by ensuring that frontend routing logic remains synchronized with the backend.","language":"javascript","status":"active","version":"2.6.2","tags":["javascript","laravel","routes","ziggy","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ziggy-js","imports":["import { route } from 'ziggy-js';","import { Router } from 'ziggy-js';","import type { ZiggyConfig } from 'ziggy-js';"]},{"cmd":"yarn add ziggy-js","imports":[]},{"cmd":"pnpm add ziggy-js","imports":[]}],"homepage":null,"github":"https://github.com/tighten/ziggy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ziggy-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ziggy-js/compatibility"}}