Imagine you need a system for booking appointments: doctor, hair salon, or cart racing track. In this tutorial, we will create exactly that, with a 2-in-1 demo: how to build a dynamic form in Filament and how to reuse it outside the adminpanel for non-logged-in users to be able to book an appointment.
Enums are a popular field type in Databases to store a pre-defined list of keys. Do you know how to update enum values with Laravel? It's pretty simple!
Developers often get syntax errors from Eloquent, like "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ...". But it's hard to debug the SQL error without seeing the real SQL query.
If multiple Eloquent models in your project have the same identical relationship methods, like `createdBy()`, for example, you may extract them in a reusable structure. We will show you an example with Traits.
Have you ever seen the error "Vite manifest not found at manifest.json" in your Laravle project? A few things can cause this error, so let's quickly overview them.
By default, the Filament login form contains email and password fields. In this short tutorial, let's see how to log in to the panel using `name` or `email` in the same field. Instead of `name`, you can have `username`, the logic would be similar.