ziggy
inertia
ziggy | inertia | |
---|---|---|
6 | 121 | |
3,707 | 5,751 | |
0.8% | 0.8% | |
9.0 | 7.9 | |
17 days ago | 1 day ago | |
JavaScript | PHP | |
MIT License | MIT License |
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.
ziggy
- My feelings about Inertia
-
Formatting eloquent data?
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
5. tighten/ziggy
-
Setting up Laravel with Inertia.js + Vue.js + Tailwind CSS
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
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.
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.
inertia
-
Should I rebuild my web app as an SPA?
You mention that implementing Vue with Laravel is a headache but without mentioning what kind of issues you have had? Have you looked into using Inertia.js? (https://inertiajs.com/)
- where can I find information about using vue and php together?
-
Up-to-date methods of using Vue with Laravel in a non-SPA way?
Inertia is what you're looking for, works great!
-
Ask HN: What are some unpopular technologies you wish people knew more about?
Don't know if https://inertiajs.com can be classified as unpopular. but I think it's one of the best web solution combining the best of the both worlds ssr and spa.
-
SQLSync – Stop Building Databases
But, if I can be honest, solutions such as Hotwire or Livewire are not as snappy as a SPA.
I personally prefer [InertiaJs](https://inertiajs.com), which is some kind of front-end router system with its state synced with the server in an "old style" fashion.
- Build single-page apps, without building an API
- InertiaJs: Build single-page apps, without building an API
-
An Internet of PHP
[2] https://inertiajs.com/
- Inertia.js – The Modern Monolith
- InertiaJS – Single-page apps, without building an API
What are some alternatives?
inertia-laravel - The Laravel adapter for Inertia.js.
laravel-pwa - Looks like an app, feels like an app, but IS NOT an app.
ziggy - Use your Laravel named routes in JavaScript [Moved to: https://github.com/tighten/ziggy]
vite - Next generation frontend tooling. It's fast!
browsershot - Convert HTML to an image, PDF or string
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
laravel-snappy - Laravel Snappy PDF
htmx - </> htmx - high power tools for HTML
workflows - The Workflow Package add Drag & Drop Workflows to your Laravel Application.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Meteor JS - Meteor, the JavaScript App Platform
vercel - Develop. Preview. Ship.