Blog

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

Laravel Company

Enabling session in lumen framework

# Enabling Session Resumption Across Microservices with Lumen and Redis ## The Challenge of Distributed Session Management in Microservices When architecting a...

2026-06-29 Stefan Bogdanescu
Laravel Company

eloquent laravel: How to get a row count from a ->get()

Title: Efficiently Retrieving Row Counts with Laravel Eloquent's Collection Methods Introduction: In this blog post, we'll explore various ways to count rows...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Blade passing variable with string through @include causes error

Title: Laravel Blade Variable Passing through @include - Common Issues Explained In this blog post, we will explore the challenges faced when passing variables...

2026-06-29 Stefan Bogdanescu
Laravel Company

Unable to prepare route [password/reset] for serialization. Another route has already been assigned name [password.request]

# Resolving Route Naming Conflicts in Laravel: Understanding Duplicate Route Names As a senior developer working with frameworks like Laravel, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Mass upsert in Laravel (Eloquent)

# Mass Upsert in Laravel (Eloquent): The Efficient Way to Handle Inserts and Updates As senior developers working with Laravel and relational databases like...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use withTrashed when I'm querying using eager loading?

# How to Use `withTrashed()` When Querying Using Eager Loading in Laravel As developers working with relational databases and Eloquent in Laravel, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Why I receive "CSRF token mismatch" while running tests in laravel?

# Why I Receive "CSRF Token Mismatch" While Running Tests in Laravel Running automated tests is crucial for maintaining the stability and quality of any...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel save() method returning true but not updating records

# The Eloquent Paradox: Why `save()` Returns True But Nothing Updates in the Database As senior developers working with Laravel and Eloquent, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Exception has occurred. FormatException (FormatException: Unexpected character (at character 1) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ )

# Solving the Mystery: Why You Get `FormatException` When Posting Data from Flutter As a senior developer, I frequently encounter frustrating errors when...

2026-06-29 Stefan Bogdanescu
Laravel Company

PostTooLargeException in ValidatePostSize.php line 22 laravel

# Decoding the Error: Resolving `PostTooLargeException` in Laravel File Uploads As a senior developer working with web applications, dealing with file uploads...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel listener listen to multiple event

# Mastering Multiple Events: Handling Diverse Information in Laravel Listeners When working with Laravel's Event system, understanding how listeners interact...

2026-06-29 Stefan Bogdanescu
Laravel Company

Deploy Laravel 5 using only FTP in a shared hosting

# Deploying Laravel 5 via FTP on Basic Shared Hosting: A Developer's Guide Deploying modern PHP frameworks like Laravel onto basic shared hosting environments...

2026-06-29 Stefan Bogdanescu