Blog

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

Laravel Company

Laravel: How to get the current url as a view helper with parameters

# Laravel: How to Get the Current URL as a View Helper with Parameters As developers building dynamic web applications in Laravel, one of the most common...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel 1071 Specified key was too long; max key length is 1000 bytes

# Decoding the MySQL Index Nightmare: Solving the "Specified key was too long" Error in Laravel As a senior developer working with relational databases, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel DOMPDF: how to load image from storage folder?

# Laravel DOMPDF: How to Load Images from Storage Folder Without Errors Dealing with file access issues when generating PDFs using tools like DOMPDF can be...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to configure ngnix, vite and laravel for use with HMR via a reverse proxy?

# How to Configure Nginx, Vite, and Laravel for HMR via a Reverse Proxy As developers diving into the Laravel and Vue ecosystem, setting up a robust local...

2026-06-29 Stefan Bogdanescu
Laravel Company

Eloquent / Laravel: How to get last insert/update ID/instance of updateOrCreate()?

# Eloquent / Laravel: How to Get the Last Insert/Update ID or Instance of `updateOrCreate()` The Eloquent method `updateOrCreate()` is a powerful tool in...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Where selection for Eloquent Eager Loading relationship

# Laravel: Where Selection for Eloquent Eager Loading Relationships When building dynamic applications with Laravel, one of the most frequent tasks developers...

2026-06-29 Stefan Bogdanescu
Laravel Company

Access Request in Service Provider After Applying Middleware

# The Timing Trap: Accessing Request Data in Service Providers After Middleware As senior developers working within the Laravel ecosystem, we often deal with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel, How to ignore (except) some fields when update model using json and laravel

# Laravel: How to Ignore (Except) Some Fields When Updating Models Using JSON Updating Eloquent models from incoming JSON requests is a daily task for any...

2026-06-29 Stefan Bogdanescu
Laravel Company

What's is the difference between required_with and required_with_all laravel validation

# Decoding Conditional Validation in Laravel: `required_with` vs. `required_without` As a senior developer, we often dive deep into framework documentation,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel using web authentication in all api routes redirect to home

# Laravel API Authentication: Avoiding Unwanted Redirects with Web Guards As a senior developer working with Laravel applications, managing authentication and...

2026-06-29 Stefan Bogdanescu
Laravel Company

When to generate a new Application Key in Laravel?

Title: Understanding Application Keys and When to Generate Them in Laravel Introduction: In the world of web development, security is of utmost importance....

2026-06-29 Stefan Bogdanescu
Laravel Company

Qrcode in laravel

# Mastering QR Codes in Laravel: Solving the PNG Output Challenge Generating dynamic content, such as QR codes, is a common requirement in modern web...

2026-06-29 Stefan Bogdanescu