Ziggy provides a JavaScript route() function that works like Laravel's, making it a breeze to use your named Laravel routes in JavaScript. Ziggy supports Laravel's route-model binding, and can even recognize custom route key names. If you pass route() a JavaScript object as a route parameter, Ziggy will use the registered route-model binding keys for that route to find the correct parameter value inside the object. If no route-model binding keys are explicitly registered for a parameter, Ziggy will use the object's id key.
Features
- Use your Laravel routes in JavaScript
- Documentation available
- Install Ziggy in your Laravel app with Composer
- Ziggy's route() function works like Laravel's route() helper
- Query parameters
- Ziggy automatically encodes boolean query parameters as integers in the query string
- Ziggy supports default route parameter values
Categories
FrameworksLicense
MIT LicenseFollow Ziggy
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Ziggy!