Blog

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

Laravel Company

Call to undefined method Illuminate\Database\Query\Builder::withTrashed()

# Solving the Mystery: Call to undefined method Illuminate\Database\Query\Builder::withTrashed() in Laravel Dealing with cryptic errors in a framework like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Address in mailbox given [] does not comply with RFC 2822, 3.6.2. when email is in a variable

Title: Address in mailbox given [] does not comply with RFC 2822, 3.6.2 when email is in a variable - A Comprehensive Explanation for Developers Body:...

2026-06-29 Stefan Bogdanescu
Laravel Company

Why are my Laravel failed jobs not showing up in the failed_jobs table?

# Why are my Laravel failed jobs not showing up in the `failed_jobs` table? A Deep Dive into Queue Failures Dealing with asynchronous job processing in Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Session always changes every refresh / request in Laravel 5.4

# Laravel Session Chaos: Why Sessions Keep Changing Across Requests (And How to Fix It) As a senior developer, I’ve encountered countless frustrating session...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to pass Query parameter using route name in laravel?

# How to Pass Query Parameters Using Route Names in Laravel: Mastering URL Data Flow As a senior developer working with Laravel, understanding how data flows...

2026-06-29 Stefan Bogdanescu
Laravel Company

Show bootstrap modal when click on href Laravel

# Show Bootstrap Modal When Clicking an `href` in Laravel: The AJAX Solution As a senior developer working with Laravel, you often encounter scenarios where...

2026-06-29 Stefan Bogdanescu
Laravel Company

Function mcrypt_get_iv_size() is deprecated on Laravel 4

# Migrating Away from Legacy Cryptography: Dealing with `mcrypt_get_iv_size()` Deprecation in Laravel 4 As a senior developer, I often encounter legacy...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel use default email template

# How to Use Default Email Templates in Laravel Mail Sends As a senior developer working with the Laravel ecosystem, I frequently encounter questions about how...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel get error of Call to a member function prepare() on null

# Solving the Dreaded Error: `Call to a member function prepare() on null` in Laravel with MongoDB As senior developers, we all encounter those frustrating...

2026-06-29 Stefan Bogdanescu
Laravel Company

Passing variable from component into a slot

# Passing Variables from Component into Slots: Mastering Context in Blade Templates As developers working with modern front-end frameworks and server-side...

2026-06-29 Stefan Bogdanescu
Laravel Company

Is there a suggested list of values for Laravel's APP_ENV variable (found in the .env file)?

# Is there a suggested list of values for Laravel's `APP_ENV` variable? As developers working with frameworks, we often look for established standards—a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Docker is not running when run curl command to create new laravel project

# Why Docker Doesn't Run When Creating a Laravel Project: A Deep Dive for WSL Users As developers diving into the world of modern application deployment,...

2026-06-29 Stefan Bogdanescu