Top 5 Filament tips and tricks you must know

filament tips and tricks

In this article, we are exploring 5 filament tips and tricks that may come handy for you when working on this admin panel. Clickable action on table row. In filament table, whenever we click on any record on the table, it redirects us to edit page of that resource. So, if you want to change … Read more

SQL CASE WHEN with Challenge Questions

What is CASE WHEN? CASE WHEN is SQL’s way of writing if/else logic inside a query. It lives inside SELECT and returns a value based on conditions. No new table. No function. Just inline logic. Types of cases Searched case Evaluates conditions one by one. First true condition wins. Simple case CASE inside ORDER BY … Read more

SQL SELECT STATEMENT – PRACTICE SET 1

WHAT WE LEARN In this video, we discuss about: Challenge question Question 1: Question 2 Question 3 Question 4 Question 5 Question 6 Question 7 Question 8 Question 9 A junior dev wrote SELECT * FROM products and pushed it to production. Write the corrected query that shows only product_id, product_name, category, unit_price, and stock_qty … Read more

Building Dynamic Menus in Filament + Laravel

Building dynamic navigation menus is a common requirement in modern web applications. Whether you’re creating a CMS, a SaaS dashboard, or a content-driven website, hardcoding menus quickly becomes difficult to maintain and scale. In frameworks like Laravel, developers often rely on structured data and admin panels to manage application content. This is where Filament becomes … Read more

Proxy vs Reverse Proxy Explained (With Simple Examples for Developers)

When working with web applications, especially in backend development or DevOps, you’ll often hear terms like proxy and reverse proxy. In this article, we will breakdown: What is proxy? A proxy server acts as a middleman between the client (user) and the internet. How it works? The server never directly sees the user, it only … Read more

5 Laravel Database Optimizations That Actually Matter in Production

Laravel apps often feel fast at first, but slow down as real users and data grow. In most cases, the issue isn’t the framework but it’s inefficient database queries. This article covers a few practical optimizations that can make a noticeable difference in real-world performance. Fix N+1 Queries (Eager Loading) The N+1 query problem occurs … Read more

fopen() and file_get_contents() in php : Which One Should You Use?

fopen and file_get_contents in php are the commonly used methods for file handling. While both of them can read the file but they serve different purposes and different performance characteristics especially when dealing with large files and streams. fopen and file_get_contents in php file_get_contents() fopen() Read more about fopen. Memory Usage Use cases file_get_contents() fopen() … Read more

Filament Tables Tutorial: 5 Powerful Features You Must Know

Filament Tables has rapidly become one of the most potent tools for creating Laravel admin panels. In this guide, we will discuss the 5 powerful techniques for filament. Persistence of Search and Sorting In Filament Tables, we can easily make columns sortable and searchable using the sortable() and searchable() methods available on column components. However, … Read more

How to Handle Composite Unique Key Validation in Filament

In this article, we will learn how to achieve composite unique key validation in filament. In most practical scenarios, a single column is insufficient to ensure uniqueness. For example: This is known as composite unique constraint, where more than one column need to be unique together. In this article, we will learn how to achieve … Read more