Blog

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

Laravel Company

Eloquent with nested whereHas

# Mastering Deep Filtering: Navigating Eloquent's Nested `whereHas` As senior developers working within the Laravel ecosystem, we often leverage Eloquent’s...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to setup PhpSpreadsheet in Laravel

# How to Setup PhpSpreadsheet in Laravel: Binding Services for Seamless Integration As a senior developer, I often find myself setting up complex packages...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Sanctum: Route [login] not defined

# Debugging Sanctum Authentication: Solving the "Route Not Defined" Error As a senior developer working with modern Laravel applications, integrating...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel AJAX GET and show new data

# Mastering Dynamic Data Loading: Using Laravel AJAX GET Requests to Show New Data As developers, we frequently encounter the challenge of creating dynamic...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to upgrade laravel 5.5 to laravel 10?

# The Grand Migration: How to Safely Upgrade from Laravel 5.5 to Laravel 10 Upgrading a large framework like Laravel across several major versions is not a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Eloquent: hasNot with parameter

# Eloquent: Mastering `hasNot` with Parameters for Complex Queries Eloquent ORM is one of Laravel's most powerful features, allowing developers to interact...

2026-06-29 Stefan Bogdanescu
Laravel Company

Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated

Title: Solving Deprecated color-adjust Warnings When Creating Laravel Projects Body: Modern web development often involves complex processes and numerous tools...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel generate a unique ID using Storage::put

# Storing Remote Content in Laravel Storage: Beyond `Storage::putFile()` I frequently see developers leverage Laravel's `Storage` facade, particularly methods...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel, Inertia.js and vue, check if user is logged In

# Laravel, Inertia.js and Vue: Conditionally Displaying User Details Based on Login Status As a senior developer working with the powerful stack of Laravel,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel form request validation on store and update use same validation

# Mastering Conditional Validation: Handling Unique Constraints in Laravel Form Requests As a senior developer working with the Laravel ecosystem, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Multiple groupBy on Laravel Collection

# Mastering Multiple GroupBy on Laravel Collections: Why Your Two-Key Grouping Fails As developers working with Laravel, we often deal with aggregating data....

2026-06-29 Stefan Bogdanescu
Laravel Company

How to decrypt cookie?

# How to Decrypt Cookies: Unpacking Session Security in Web Applications I recently encountered a debugging scenario where I found a session cookie,...

2026-06-29 Stefan Bogdanescu