Blog

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

Laravel Company

Laravel 8 upsert doesn't work as expected

# Mastering Upsert in Laravel: Why Your Operation Fails (And How to Fix It) As a senior developer working with the Laravel ecosystem, we frequently encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

using iframe in laravel blade view

# Modernizing Navigation: Implementing Dynamic Content Loading with Laravel Blade and Iframes Migrating an existing application, especially one relying on...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel artisan serve and npm run dev single command

# Laravel Development Workflow: Running Artisan and Vite Simultaneously with Shell Power As developers working on modern frameworks like Laravel, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use Laravel Passport with a custom username column

# How to Use Laravel Passport with a Custom Username Column When building robust authentication systems in Laravel, flexibility is key. While the default setup...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: customize page links in pagination

# Laravel: Customizing Page Links in Pagination with CSS Classes As a senior developer working with frameworks like Laravel, customizing default UI...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel namespacing routes

# Navigating Complex Namespacing: A Deep Dive into Laravel Route Definitions As developers working with large, modular applications, managing file structure...

2026-06-29 Stefan Bogdanescu
Laravel Company

Is there a method to override RouteServiceProvider::HOME in Laravel?

# The Right Way to Override Laravel Redirects: Moving Beyond Static Constants As developers dive into the world of Laravel, customizing default behaviors is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - How to pass data to include

# Laravel Includes: How to Efficiently Pass Data to Your Layouts As developers working with large applications in Laravel, we frequently encounter a common...

2026-06-29 Stefan Bogdanescu
Laravel Company

What is the best practice to show old value when editing a form in Laravel?

Title: Best Practices for Displaying Old Values While Editing Forms in Laravel Body: When developing forms in Laravel, it's essential to consider different...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel passport: Request user() returning null outside auth:api middleware, and inside returning user object

# Laravel Passport & Middleware: Decoding the Authenticated User Context As senior developers working with Laravel, understanding the lifecycle of an HTTP...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Controller Dependency Injection

# Mastering Dependency Injection in Laravel Controllers: Where Does That `$user` Come From? As developers aiming for cleaner, more testable code in Laravel,...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to check that laravel eloquent update method is success

# How to Check That Your Laravel Eloquent Update Method Was Successful As senior developers working with Laravel and Eloquent, we often run into subtle...

2026-06-29 Stefan Bogdanescu