Blog

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

Laravel Company

How To upload base64 image in S3 bucket in Laravel 5.5

# How To Upload Base64 Images to S3 in Laravel 5.5: A Developer's Guide As developers building modern APIs, handling file uploads efficiently is a daily...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel putFileAs path error

# Decoding the Error: Mastering `putFileAs` Paths in Laravel Storage As developers working with Laravel, we often rely on the powerful `Storage` facade to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Clear Laravel's orderBy

# Mastering Query Chaining in Eloquent: How to Control Your `orderBy` Clauses As senior developers working with Laravel and Eloquent, we constantly deal with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel excel maatwebsite 3.1 import, date column in excel cell returns as unknown format number. How to solve this?

Title: Addressing Unknown Number Format Issue with Date Columns in Laravel Excel Maatwebsite v3.1 Import Body: By using Maatwebsite/Laravel-Excel version 3.1...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel session based auth:api middleware not working

# Laravel Session-Based Auth: Why API Middleware Fails When Using Session Guards As developers working with the Laravel ecosystem, we often encounter subtle...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel date default error

# Resolving Date and Time Errors in Laravel v5 Installations: A Developer's Guide Migrating between major versions of a framework, especially when dealing with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel v8.x - Jetstream Inertia, 419 page expired on production

# Laravel v8.x: Decoding the 419 Error in Jetstream Inertia Deployments The HTTP 419 "Page Expired" error is a frustrating roadblock for any Laravel developer,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Download file from Amazon S3 with Laravel

# Downloading Files from Amazon S3 with Laravel: The Efficient Way As developers working with cloud storage solutions like Amazon S3, integrating these...

2026-06-29 Stefan Bogdanescu
Laravel Company

Defining an array as an .env variable in laravel 8

# Defining an Array as an `.env` Variable in Laravel: The Correct Approach As senior developers working with the Laravel ecosystem, we often deal with the need...

2026-06-29 Stefan Bogdanescu
Laravel Company

Countdown in Laravel

# Mastering Dynamic Timers: Passing Laravel Dates to JavaScript Countdowns As a senior developer working with the Laravel ecosystem, we often encounter the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Possible to mock model method output in Laravel / PHPUnit?

# Possible to Mock Model Method Output in Laravel / PHPUnit? Unlocking Control Over Eloquent Logic As developers working within the Laravel ecosystem, testing...

2026-06-29 Stefan Bogdanescu
Laravel Company

Cannot list files in directory with phpleague flysystem sftp v3

# Troubleshooting Flysystem v3 SFTP: Resolving the "Undefined array key 'type'" Error Migrating storage layers, especially when dealing with external file...

2026-06-29 Stefan Bogdanescu