Blog

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

Laravel Company

Laravel Query Builder, selectRaw or select and raw

Title: Understanding Laravel's Query Builder Options - selectRaw vs. Select & raw Body: When working with databases in PHP applications, developers often need...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 - Change model file location

# Laravel 5: Configuring Eloquent Model Locations for Cleaner Architecture Migrating between major versions of a framework often brings architectural shifts....

2026-06-29 Stefan Bogdanescu
Laravel Company

Display specific eloquent query in nova resource index view

# Displaying Specific Eloquent Queries in Nova Resource Index Views As senior developers working with Laravel and the Nova administration panel, we often face...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.2 - Using Auth::check() not working in MIddleware

# Fixing Authentication Checks in Laravel Middleware: Why `Auth::check()` Fails in Custom Logic As developers working with the Laravel ecosystem, we often dive...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 - session doesn't work

# Troubleshooting Laravel Sessions: Why Your File-Based Setup Fails As a senior developer, I’ve seen countless times where seemingly simple features like...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to set up an OpenID Connect client in Laravel?

# How to Set Up an OpenID Connect Client in Laravel: A Developer's Guide When building modern web applications, integrating third-party authentication services...

2026-06-29 Stefan Bogdanescu
Laravel Company

can't create a Laravel project because mcrypt extension is missing

# The Ghost in the Machine: Why Missing `mcrypt` Stops Your Laravel Project on Legacy Systems If you’ve encountered this specific roadblock—the inability to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel, dispatchAfterResponse does not release frontend request

# Laravel Dispatching: Why `dispatchAfterResponse()` Doesn't Always Release Frontend Requests As a senior developer working with asynchronous processing in...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHPstorm - Unable to set breakpoints in blade.php files

# PHPStorm Debugging Dilemma: Why Breakpoints Fail in Blade Files As senior developers working with the Laravel ecosystem, debugging is an art form. We spend...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: performing some task on every insert/update when using Query Builder or Eloquent ORM

# Laravel: Automating Meta Data Insertion Across Eloquent and Query Builder As senior developers working within the Laravel ecosystem, we constantly seek ways...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel horizon not processing jobs

# Laravel Horizon Not Processing Jobs: A Deep Dive into Troubleshooting Stalled Queues Setting up Laravel Horizon is one of the most powerful ways to manage...

2026-06-29 Stefan Bogdanescu
Laravel Company

Import CSV file to Laravel controller and insert data to two tables

Title: Importing CSV Data into Laravel Controllers: A Comprehensive Guide for Beginners Body: As a beginner in Laravel development, you might come across the...

2026-06-29 Stefan Bogdanescu