Blog

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

Laravel Company

How to use php-cs-fixer in vscode with docker container for php and composer

# How to Use php-cs-fixer in VSCode with Docker Container for PHP and Composer As developers working in modern, containerized environments, managing...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHP Laravel - Eloquent is returning boolean fields randomly sometimes as 0 1 and others as true false when calling the method json

# Unifying Boolean Output in Laravel Eloquent: Solving Inconsistent JSON Formatting As developers building RESTful APIs with Laravel and Eloquent, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

What's the difference between OpenResty and Nginx?

# OpenResty vs. Nginx: Which Path is Better for Your Laravel Applications? As a developer diving into the world of web serving, you inevitably encounter Nginx...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel is rotating the image when uploaded

# Stop the Spin: Troubleshooting Image Rotation Issues in Laravel Uploads As a senior developer working with the Laravel framework, you often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - get size from uploaded file

Title: Retrieving File Size from Uploaded Files in Laravel In Laravel, handling uploaded files is quite straightforward thanks to the built-in functionality...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5: How to saveMany() based on value

# Mastering Bulk Operations: How to Use `saveMany()` Efficiently in Laravel As developers working with Eloquent and relational databases, we often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent model overriding static boot method

# Mastering Model Events: Overriding Static Boot Methods in Laravel Eloquent As developers working with Laravel and Eloquent, understanding how models execute...

2026-06-29 Stefan Bogdanescu
Laravel Company

Summing over multiple fields in Laravel

# Summing Over Multiple Fields in Laravel: Mastering Aggregation with the Fluent Query Builder As developers working with relational databases through an ORM...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to search in json array object with laravel query builder?

# How to Search in JSON Array Objects with the Laravel Query Builder As developers working with modern APIs, handling semi-structured data like JSON arrays is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Hostinger web share shoting giving back 403 forbidden error

# Hostinger Web Share Shooting Giving Back 403 Forbidden Error: Debugging Deployment Access Issues Deploying modern frameworks like Laravel onto shared hosting...

2026-06-29 Stefan Bogdanescu
Laravel Company

Passing variable from DOMPDF controller to view

# Passing Variables from Laravel Controller to DOMPDF: The Definitive Guide Creating PDF documents directly from web applications using libraries like DOMPDF...

2026-06-29 Stefan Bogdanescu
Laravel Company

reCaptcha v3 handle score callback

# Mastering reCAPTCHA v3 Score Handling: A Server-Side Security Deep Dive Dealing with reCAPTCHA v3 scores presents a common challenge for developers:...

2026-06-29 Stefan Bogdanescu