Blog
Insights, guides, and best practices from the Laravel Company team.
How do we implement custom API-only authentication in Laravel
# How do we implement custom API-only authentication in Laravel? The transition from traditional web application authentication, which relies on session...
PHPunit fails with "Allowed memory size of 134217728 bytes exhausted (tried to allocate 5242880 bytes)" after upgrade to PHP 8.0.16
# Solving the Memory Exhaustion Nightmare: PHPUnit Failures After a Laravel/PHP Upgrade Upgrading a complex application environment, especially when moving...
`composer update` doesn't update to the latest version
# `composer update` doesn't update to the latest version: Solving Environment Discrepancies As senior developers, we often encounter frustrating scenarios...
orderBy case insensitive with Laravel
# Achieving Case-Insensitive Ordering in Laravel Eloquent with PostgreSQL As a senior developer working with Laravel and relational databases like PostgreSQL,...
ARGUMENTS and OPTIONS with Laravel Illuminate Console Command
# Mastering CLI Structure: Implementing Arguments and Options in Laravel Console Commands It is a common hurdle when building custom Command Line Interface...
can't write image data to path in laravel using the Intervention library
Title: Solving "Can't Write Image Data to Path" Issue in Laravel Using Intervention Library Body: In this blog post, we will discuss the causes and solutions...
Target class [App\Http\Controllers\welcome] does not exist. error in laravel 6
# Fixing the "Target Class Does Not Exist" Error in Laravel Deployments As a senior developer, I’ve seen countless developers run into frustrating errors...
Laravel validator::make vs this->validate()
# Laravel Validation Showdown: `validate()` vs. `Validator::make()` As developers working with Laravel, we often encounter a decision point when handling input...
How to fix PHP Parse error: syntax error, unexpected '?' in vendor\laravel\framework\src\Illuminate\Foundation\helpers.php on line 500
# How to Fix PHP Parse Error in Laravel: Decoding Syntax Errors in Vendor Files As a senior developer working with modern frameworks like Laravel, we often...
Laravel - Display preview of file stored in Storage directory
# Laravel: Securely Displaying Private Files Stored in Storage As developers working with Laravel, one of the most common challenges we face is managing file...
VueJS right way to edit prop without changing parent data
# VueJS: The Right Way to Edit Props Without Mutating Parent Data As developers working with reactive frameworks like Vue.js, understanding how data flows...
Laravel: nested "with()" function
# Mastering Nested Eager Loading in Laravel: Taming the Multi-Level `with()` Function As senior developers working with Eloquent, we frequently deal with...