Blog

Insights, guides, and best practices from the Laravel Company team.

Laravel Company

Laravel very slow eloquent query

# Debugging Slow Eloquent Queries in Laravel: Mastering Database Performance As a senior developer, I often encounter situations where seemingly simple...

2026-06-29 Stefan Bogdanescu
Laravel Company

Filament PHP show custom form or filter row above header widgets and link them with header widgets

# Show Custom Forms and Filters Above Header Widgets in Filament As a senior developer working with the powerful framework of Filament, you are often looking...

2026-06-29 Stefan Bogdanescu
Laravel Company

syntax error, unexpected identifier enum laravel

# Deciphering the Error: Mastering Enum Casting in Laravel Models As developers increasingly leverage modern PHP features like Enums, the potential for...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel date format in submission form (d-M-Y)

# Laravel Date Formatting in Submission Forms: Achieving Custom `d-M-Y` Display As senior developers, we often encounter situations where standard framework...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel yajra datatable filter column with aditional render data

# Mastering Dynamic Data Filtering in Yajra DataTables: Handling HTML and Custom Rendered Columns Hope some of you are facing similar hurdles when trying to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Location headers in Laravel

# Mastering Redirection: Fixing Location Header Issues in Laravel Applications As developers, we often encounter situations where we need to control the flow...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.5 : How to define global variable that can be used in all controllers ?

# Laravel Global Variables: The Right Way to Share Data Across Your Application Hello Developers & Coders, Dealing with application-wide data access in a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Cron Job with Laravel 4

# Mastering Scheduled Tasks: Setting Up Cron Jobs in Laravel 4 As developers who have navigated the evolution of PHP frameworks, there’s a certain nostalgia...

2026-06-29 Stefan Bogdanescu
Laravel Company

convert an array to json in laravel controller

Title: Convert an Array to JSON in Laravel Controller Body: Hello fellow developers! In this comprehensive blog post, we will explore how to convert an array...

2026-06-29 Stefan Bogdanescu
Laravel Company

Read XML file in laravel

# Reading XML Files in Laravel: A Comprehensive Guide As developers working within the Laravel ecosystem, we frequently encounter data stored in various...

2026-06-29 Stefan Bogdanescu
Laravel Company

Simple query slow in Laravel, but insanely fast in database console

# Simple Query Slow in Laravel, But Insanely Fast in Database Console: Decoding the Performance Paradox As a senior developer, I often encounter performance...

2026-06-29 Stefan Bogdanescu
Laravel Company

Can't Assign Role to User

# Solving the Mystery: Why You Can't Assign Roles with spatie/laravel-permission As a senior developer working with Laravel and robust authorization systems, I...

2026-06-29 Stefan Bogdanescu