Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...