Blog

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

Laravel Company

How to execute an `explain select` on a laravel builder

# Mastering Query Performance: How to Get an `EXPLAIN` Plan on a Laravel Query Builder As developers working with relational databases, optimizing query...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to make unique rule with where() in laravel

# Mastering Conditional Uniqueness: How to Use `where()` with Unique Rules in Laravel Validation Hi there! As a fellow journeyer in the world of Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to call app_path() function in laravel lumen?

# How to Call `app_path()` Function in Laravel Lumen: A Developer's Guide Dealing with "Call to undefined function" errors, especially when working within a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Better way of Seeding a Pivot Table

# Better Way of Seeding Pivot Tables: Leveraging Eloquent Relationships As developers working with relational databases in frameworks like Laravel, managing...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to `lockForUpdate()` on an existing Eloquent model?

# How to Properly `lockForUpdate()` on an Existing Eloquent Model for Transactional Integrity As developers working with relational databases, ensuring data...

2026-06-29 Stefan Bogdanescu
Laravel Company

General error: 1364 Field 'uuid' doesn't have a default value

# Solving the Mystery: General Error 1364 - Field 'uuid' doesn't have a default value in Laravel As a senior developer working with Eloquent and database...

2026-06-29 Stefan Bogdanescu
Laravel Company

Guzzle Curl error not catche by try catch statement (Laravel)

# Guzzle Curl Error Not Caught by Try-Catch Statement in Laravel: Mastering HTTP Exception Handling As a senior developer working within the Laravel ecosystem,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Postgresql return zero-length delimited error

# Solving the PostgreSQL "Zero-Length Delimited Identifier" Error in Laravel Migrations Migrating a Laravel application from one database system to another,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel $request->file() returns null

Title: Troubleshooting Laravel $request->file() Returning Null while Uploading Files Body: Laravel's $request->file('files') returns NULL, but there is an...

2026-06-29 Stefan Bogdanescu
Laravel Company

Validating array in Laravel using custom rule with additional parameter

# Validating Arrays in Laravel with Custom Rules: Handling Cross-Field Dependencies As developers working with complex data structures in Laravel, we often run...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel API routes not working with Postman

# Debugging API Routes: Why Postman Fails to Connect to Your Laravel Backend As a senior developer working with Laravel, setting up API endpoints is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Undefined type 'Tymon\JwTAuth\Contracts\JWTSubject'

# Solving the Mystery: Undefined Type Error with Tymon JWT Auth and Interfaces As a senior developer, I frequently encounter issues where package installations...

2026-06-29 Stefan Bogdanescu