MENU

Fun & Interesting

What Do Forms Look Like in Different Laravel Stacks (Blade, Livewire, and React/Inertia)?

Laravel 11,359 lượt xem 9 months ago
Video Not Working? Fix It Now

96% of any modern web application is just different types of forms (don't look it up, it's true.) So, one could assume that it's incredibly important to know how forms work in your given flavor of Laravel.

Let's take a look at what a basic form would look like with input, validation, submission, error handling, and success messages within different stacks in Laravel.

Example Github Repo: https://github.com/joshcirre/forms-in-laravel
Laravel Blade Form Docs: https://laravel.com/docs/11.x/blade#form
Livewire Form Docs: https://livewire.laravel.com/docs/forms
Inertia Form Docs: https://inertiajs.com/forms

Comment