inertia-laravel VS ziggy

Compare inertia-laravel vs ziggy and see what are their differences.

ziggy

Use your Laravel routes in JavaScript. (by tighten)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
inertia-laravel ziggy
44 6
1,917 3,698
2.0% 1.1%
7.7 9.1
about 1 month ago 8 days ago
PHP JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

inertia-laravel

Posts with mentions or reviews of inertia-laravel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-09.
  • Laravel Inertia.js - Running SSR on a different port than 13714
    3 projects | dev.to | 9 Feb 2023
    This is (as far as I know) not documented and I had to dive into the sourcecode for both the inertia server runner and the Laravel command to start the server to understand what is going on. Here we go.
  • Setting up a new Rails 7 app with Vite, Inertia, and Svelte
    5 projects | dev.to | 22 Dec 2021
    So here is a quick guide how to set up a new Rails 7 app using my favorite projects out there: Inertia and Svelte. You can also skip all this and download the endresult directly from here: https://github.com/buhrmi/rails7-starter
  • Server-side rendering support in Clojure(Script)?
    5 projects | /r/Clojure | 20 Dec 2021
    Might be interested in https://inertiajs.com/
  • Introducing Laravel VILTify: a Vue CLI & Vuetify powered alternative to Breeze for the VILT stack
    8 projects | dev.to | 15 Dec 2021
    Laravel Viltify is a heavily opinionated Laravel starter kit. It's intent is to seamlessly integrate Vue, Inertia.js, Laravel, TailwindCSS and Vuetify, so you don't waste your time learning how to do it and focus on writing your application, leaving setup behind.
  • Why build web sites like this?
    2 projects | /r/webdev | 29 Nov 2021
  • React with Laravel as frontend
    1 project | /r/laravel | 7 Nov 2021
  • Best way to use Svelte along with Django(Python) framework for SPA(Single Page App) Development?
    2 projects | /r/sveltejs | 1 Nov 2021
    Can't believe nobody recommended inertiajs here!
  • Questions for the Rails Community
    1 project | /r/rails | 28 Oct 2021
    I would recommend InertiaJS for using Vue.js with Rails. It lets Rails continue to handle navigation so you don't have to replicate it client side. Same thing with views which gives you a very nice balance between an SPA and a fully server rendered app.
  • Integrate ReactJS in Laravel
    1 project | dev.to | 28 Oct 2021
    Now more than ever, it has become very easy to integrate React in your Laravel project, as opposed to before when one had to depend on APIs to connect the two stacks. This meant two different hosting environments and two Git repos to manage. But with InertiaJS we can build SPAs (single page apps) with your preferred front-end in one single project without need for APIs. Inertia has support for React, Vue or Svelte to use in your front-end. You pass data in your controllers as in any ordinary Laravel project, only difference is you're now rendering your views as JavaScript elements instead of blade. This can be done in two ways:
  • How Laravel Livewire works (a deep dive)
    9 projects | news.ycombinator.com | 12 Oct 2021
    Awesome. I’m noticing a ton of “alternative” front end development tools these days: Hotwire, Stimulus Reflex, LiveView, Livewire, etc.

    However I don’t think javascript is the fundamental blocker. When people say they dislike building SPAs, they probably mean they dislike APIs and the whole circus of double validations, error catching, form handling and cache invalidations that come with a React/Vue SPA.

    Inertiajs[1] is a really solid middle ground of MVC goodness and client side interactivity.

    [1] - https://inertiajs.com

ziggy

Posts with mentions or reviews of ziggy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-14.
  • My feelings about Inertia
    1 project | /r/laravel | 22 Sep 2022
  • Formatting eloquent data?
    2 projects | /r/laravel | 14 Aug 2022
    The Ziggy package, provides a Javascript helper that makes it very easy to generate Laravel route url's, in your frontend code, the code would look something like this:
  • 10 Laravel packages that might save your day
    11 projects | dev.to | 11 Feb 2022
    5. tighten/ziggy
  • Setting up Laravel with Inertia.js + Vue.js + Tailwind CSS
    6 projects | dev.to | 8 Feb 2022
    Inertia uses Laravel's routes, so we won't need to use a client side router, but to make use of Laravel's web.php routes, we have to pass them to the DOM somehow. The easiest way to do it to use Ziggy. Let's install Ziggy:
  • Strugging getting Ziggy to work with InertiaJS / Vue3
    3 projects | /r/learnjavascript | 19 Jul 2021
    Hi! I am currently trying to get Ziggy to work with InertiaJS but I cannot get it to work at all. I can clearly see that Ziggy is included (using the @route directive in my blade file). When calling window.route() outside my Vue components it works fine. But when I try to call it inside my components I get this:
  • Converting Laravel Blade app to inertia.
    1 project | /r/laravel | 18 Mar 2021
    Inertia makes a lot of things trivial to do, like managing routes, and handling middleware on routes . Since it uses your routes file to create routes in the vue app (use https://github.com/tighten/ziggy and you can use named routes in your vue files too). Also form validation and showing any error messages is pretty easy. it returns an errors object from your controller, so you only have to maintain validation rules in one spot.

What are some alternatives?

When comparing inertia-laravel and ziggy you can also consider the following projects:

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.

ziggy - Use your Laravel named routes in JavaScript [Moved to: https://github.com/tighten/ziggy]

vue-i18n-next - Vue I18n for Vue 3

browsershot - Convert HTML to an image, PDF or string

htmx - </> htmx - high power tools for HTML

laravel-snappy - Laravel Snappy PDF

vue-cli - 🛠️ webpack-based tooling for Vue.js Development

workflows - The Workflow Package add Drag & Drop Workflows to your Laravel Application.

hotwire-rails - Use Hotwire in your Ruby on Rails app

Meteor JS - Meteor, the JavaScript App Platform