Blog

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

Laravel Company

laravel sort an array by date

# Mastering Date Sorting in PHP Arrays: A Practical Guide Hello friends! Dealing with date sorting in arrays is a very common task in development, whether you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Carbon\Carbon::now() throws InvalidArgumentException with message 'Trailing data'

# Decoding the Error: Why `Carbon::now()` Throws 'Trailing Data' in Laravel Models As senior developers working with the Laravel ecosystem, we often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.4 - How to use multiple error messages for the same custom validation rule

# Laravel 5.4: Handling Multiple Error Messages for Custom Validation Rules As developers building complex applications with Laravel, one of the most common...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to hide config files from direct access?

# How to Hide Config Files from Direct Access: Securing Your Laravel Application As a senior developer deploying applications, one of the most immediate...

2026-06-29 Stefan Bogdanescu
Laravel Company

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable" Laravel on Azure

# Debugging Deployment Issues: Solving "Resource Not Found" Errors on Laravel on Azure Deploying a modern framework like Laravel onto cloud infrastructure,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Not able to access image stored in Storage folder in Laravel 5.5

# Solving the Mystery: Accessing Files Stored in Laravel's Storage Folder As a senior developer, I frequently encounter issues related to file access and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Intellisense (autocompletion) for model in Laravel for Visual Studio Code or another IDE

# Achieving True Intellisense for Laravel Models in Your IDE Many developers transitioning from strongly-typed environments like .NET find themselves seeking a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel back button

Title: Creating Custom Laravel Back Button With Referrer Tracking Body: In this blog post, we will learn how to create an effective back button inside your...

2026-06-29 Stefan Bogdanescu
Laravel Company

Route [login] not defined.laraval 6.0

# Solving the Route Not Defined Error: Implementing Guards in Laravel As a senior developer working with Laravel, managing authentication guards and custom...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel new; application already exists error

# Solving the Laravel "Application Already Exists!" Error During Installation As a senior developer, I've seen countless frustrating moments where the tools we...

2026-06-29 Stefan Bogdanescu
Laravel Company

change value of $request before validation in laravel 5.5

# Mastering Data Transformation: Changing Request Values Before Validation in Laravel As developers working with the Laravel ecosystem, we frequently encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to database seed JSON field in Laravel?

# How to Database Seed JSON Fields in Laravel: Avoiding the 'Array to String Conversion' Error As a senior developer working with modern Laravel applications,...

2026-06-29 Stefan Bogdanescu