Blog

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

Laravel Company

Laravel: orderBy a column with collections

Title: Efficiently Ordering Collections by Update Timestamp in Laravel In Laravel, when working with collections, the order of elements is not predictable...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel validate Content-Type: application/json request

# Mastering JSON Validation in Laravel: A Deep Dive into Form Requests As a senior developer, I frequently encounter scenarios where handling complex,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Echo + Websockets + Private Channels

# Mastering Private Channels: Solving the Laravel Echo & CORS Headache for WebSockets I know I'm not the first struggling with real-time authentication in...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to create download link for qr code image in Laravel?

# How to Create Direct Download Links for QR Code Images in Laravel As a senior developer working with backend frameworks like Laravel, we often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel resource pagination meta data missing

# Fixing the Mystery: Laravel Resource Pagination Metadata Loss As a senior developer working with Laravel APIs, we often encounter subtle but frustrating bugs...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel migration and PostgreSQL schemas

# Mastering Database Structure: Laravel Migrations and PostgreSQL Schemas Welcome to the world of building robust applications with Laravel and PostgreSQL. As...

2026-06-29 Stefan Bogdanescu
Laravel Company

how to use model function from view ? - laravel 5.4

# How to Use Model Functions from the View: A Deep Dive into Laravel Eloquent As a senior developer, I frequently encounter questions regarding the separation...

2026-06-29 Stefan Bogdanescu
Laravel Company

Exclude Laravel-specific values from request

# Exclude Laravel-specific values from Request Data: A Developer's Guide When building APIs using frameworks like Laravel, developers often need to serialize...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: How to embed image in an email as a content and not as an attachment

# Laravel: How to Embed Images in Emails as Content, Not Attachments When building robust communication systems with Laravel, one common challenge developers...

2026-06-29 Stefan Bogdanescu
Laravel Company

Call to undefined method Illuminate\Support\Facades\Auth::user()

# Resolving the Facade Error After Laravel Version Upgrades: A Deep Dive Upgrading major versions of a framework often feels like navigating a minefield. You...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5: Querying a many to many relationship without "pivot" in the result

# Laravel: Querying Many-to-Many Relationships Without Including Pivot Data As a senior developer working with Laravel, we frequently deal with many-to-many...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.5 MassAssignmentException

# Decoding the Error: Solving the Laravel MassAssignmentException in Eloquent As a senior developer, I’ve seen countless developers stumble upon the...

2026-06-29 Stefan Bogdanescu