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.
When uploading files with Laravel, how to store the filename in the DB? Should you store "filename.png"? Or, include the folder of "avatars/filename.png"? Or, the full path "https://website.com/avatars/filename.png"? Let me tell you my opinion.
Filament is a great admin panel system, but it often confuses users how to create a custom non-CRUD page in Filament that wouldn't be a typical Resource? This tutorial will provide an example.
When grouping MySQL results, have you ever seen this error: "Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column..."? In this tutorial, I will show you two ways how to handle it in Laravel.
Laravel has many functions that we use with a single parameter, but they also accept an array of values. In this tutorial, I will show the most widely used ones.
Have you ever tried to import 1 million rows from CSV into the DB? It's a tricky task that can end up with performance issues, timeouts, or just running out of server resources. In this tutorial, I will show you one way of handling this with Jobs and Queues.
Adding an admin user to a production site is one of the most common things done when you deploy your Laravel project to the server for the first time. In this tutorial, I will show you two ways to do that.
Laravel Validation already has a [Unique](https://laravel.com/docs/validation#rule-unique) rule to check if some record exists in the database. But what if you want a combination of TWO fields to be unique? Let me demonstrate.