Filament: Export Record to PDF - Two Ways
Exporting data to PDF is a very common feature. This tutorial will show how to do it in the Filament admin panel: we will export a single record to PDF using Blade View and barryvdh/laravel-dompdf package.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
Exporting data to PDF is a very common feature. This tutorial will show how to do it in the Filament admin panel: we will export a single record to PDF using Blade View and barryvdh/laravel-dompdf package.
If you create foreign keys in your migrations, there may be a situation that the table is created successfully, but the foreign key fails. Then your migration is "half successful", and if you re-run it after the fix, it will say "Table already exists". What to do?
In this tutorial, we will create a dashboard that will automatically refresh every 5 seconds to show the next piece of data, with an example of sports leagues tables. We will use Livewire feature polling for this.
If you have a hasMany relationship in Laravel and want to delete children records when the parent is deleted, there are a few ways to set that up.
You've performed some action in Controller. Now you want to redirect the user to another page and show them the success/error message? Here are the options.
If you have a Filament form with a belongsToMany relationship, what if you want to limit the number of options to be selected? Let me show you a few ways to implement it.
We recently received this question below on Laravel Daily Discord. In short: how to structure Controllers? Should it be by roles?
Working with applications that have multiple roles can require you to have a Role Switcher to allow your user to act in a different role. For example, a user can be a doctor but also a patient. In this practical example, we'll add role-switching to our navigation bar to allow this.
I received an email from a person asking for help showing the table of data with dynamic columns. In this tutorial, I will show you exactly how I did it.
Want to change the default Laravel User model to use UUID instead of the default auto-increment ID? Here are the changes you need to make.