Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
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...
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,...
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...
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....
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...