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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Ziggy

Ziggy Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ziggy!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks

Registered

2024-04-04