Blog
Insights, guides, and best practices from the Laravel Company team.
laravel password confirm doesn't work
# Why Does Laravel Password Confirmation Fail? A Deep Dive into Validation Logic As developers, we often encounter frustrating bugs where seemingly simple...
Will laravel database transaction lock table?
# Will Laravel Database Transactions Lock Tables? Understanding Concurrency Control in Laravel As developers building high-traffic applications, managing...
laravel Eloquent model update event is not fired
# Why Eloquent Model Update Events Seem to Ignore Your Changes: A Deep Dive into Laravel Events Merry Christmas to you too! Itâs fantastic that you are...
Check if field exists in Input during validation using Laravel
# Checking Field Existence in Input During Laravel Validation: Beyond the `required` Rule As developers working with web forms, one of the most common...
filament v3 Method Filament\Actions\CreateAction::table does not exist
# Decoding Filament Errors: Why `CreateAction::table` Doesn't Exist in Your Tables As a senior developer working with the Laravel ecosystem, we often encounter...
How to execute a scheduled function in Laravel, manually?
# How to Execute Scheduled Functions in Laravel Manually: A Developer's Guide Itâs very common when starting with Laravel or any framework to feel lost when...
Why error? [Syntax error: unexpected token '?' PHP(PHP2014)]
# Decoding the Dreaded Error: Why `Syntax error: unexpected token '?'` Happens in Laravel Setup As developers, we all know that setting up a new project or...
Return model with laravel when it was created
# Returning Eloquent Models with Custom Primary Keys in Laravel As a senior developer working with the Laravel ecosystem, you often face scenarios where you...
Passing data to a closure in Laravel 4
# Passing Data to Closures in Laravel 4: Solving Scope Issues with Mail Classes As senior developers, we often run into subtle scope and context issues when...
Laravel Soft Delete posts
Title: Effectively Implement Soft Deletes on Posts in Laravel Projects In our project, we must be using soft delete for each post. Can we use that for posts on...
Instance the query builder directly from model
# Instance the Query Builder Directly from Model: Mastering Mutable Eloquent Queries When working with Eloquent and the Laravel Query Builder, developers...
Using namespaces in Laravel 4
# Mastering Namespaces in Laravel 4: Taming Model and Controller Conflicts Welcome to the world of Laravel! As you dive into a framework built on robust PHP...