Blog
Insights, guides, and best practices from the Laravel Company team.
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". (Nginx/Ubuntu)
# Composer Dependency Nightmare: Fixing PHP Version Mismatches on Linux Servers Deploying modern PHP applications, especially those built with frameworks like...
Laravel consider only the required columns from the request and ignore any other key values if present
# Laravel: How to Ensure Eloquent Ignores Extraneous Request Data for Safe Database Operations As a senior developer working with the Laravel ecosystem, we...
Kernel does not exist in laravel
# Why the "Kernel does not exist in Laravel" Error Happens and How to Fix It As a senior developer working with the Laravel ecosystem, I’ve seen countless...
Object of class stdClass could not be converted to string (php)
# Solving the Mystery: Object of class stdClass could not be converted to string in PHP Logging As a senior developer, I’ve seen countless frustrating errors...
Argument 1 passed to App\Http\Controllers\Auth\LoginController::authenticated()
# Decoding the Fatal Error: Argument Type Mismatch in Laravel Authentication As a senior developer, I’ve encountered countless cryptic error messages...
Laravel how to add a custom function in an Eloquent model?
Title: Laravel: Adding Custom Functions in Eloquent Models - A Comprehensive Guide When working with Laravel and Eloquent models, you often need to perform...
Event listeners not working in laravel-livewire 3
# Event Listeners Not Working in Laravel Livewire 3: A Deep Dive into Component Communication Working with event broadcasting between Livewire components can...
Where NOT in pivot table
# Finding What's Missing: How to Query Records NOT in a Pivot Table Relationship in Laravel As developers working with relational databases through frameworks...
How to add collate to laravel query
# Mastering Database Nuances: How to Apply Collation in Laravel Queries As developers working with relational databases, we often encounter situations where...
How to override auth login function in Laravel
# Mastering Authentication: How to Override Laravel's Login Function As developers working within the Laravel ecosystem, we often dive deep into the...
How to remove Bootstrap correctly from Laravel 5.4?
# How to Remove Bootstrap Correctly from Laravel 5.4 for a Clean Start Starting a new Laravel project is exciting, but sometimes you encounter legacy...
What is the point of X-CSRF-TOKEN or X-XSRF-TOKEN, why not just use a strict same site cookie?
# The Necessity of CSRF Tokens: Why X-XSRF-TOKEN is More Than Just SameSite Cookies As developers working with modern web frameworks, we constantly navigate...