html
ziggy
html | ziggy | |
---|---|---|
2 | 6 | |
3,966 | 3,707 | |
-0.1% | 0.8% | |
1.5 | 9.0 | |
16 days ago | 22 days ago | |
PHP | JavaScript | |
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.
html
-
10 Laravel packages that might save your day
An alternative to this is the good old laravelcollective/html, but using this is pretty primitive these days. But hey, it works!
-
Populate form with model
Parts are moved to https://github.com/LaravelCollective/html/tree/6.x/src and there is a more developer abstraction https://github.com/kristijanhusak/laravel-form-builder that's build on top of it.
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.
What are some alternatives?
laravel-form-components - A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4/5. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
inertia-laravel - The Laravel adapter for Inertia.js.
laravel-form-builder - Laravel Form builder for version 5+!
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
envy - Keep your .env.example file up to date
ziggy - Use your Laravel named routes in JavaScript [Moved to: https://github.com/tighten/ziggy]
livewire - A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
browsershot - Convert HTML to an image, PDF or string
laravel-snappy - Laravel Snappy PDF
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
workflows - The Workflow Package add Drag & Drop Workflows to your Laravel Application.