Blog

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

Laravel Company

Laravel 9 in_array(): Argument #2 ($haystack) must be of type array, null given

Title: Laravel 9 in_array() Error: Argument #2 ($haystack) must be of type array, null given Body: In Laravel 9, ensuring the security and validation of user...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.3 Storage::put creates a directory with the file name

Title: Understanding Laravel's File Storage Functionality and Directory Creation Introduction Laravel provides an efficient file storage functionality to...

2026-06-29 Stefan Bogdanescu
Laravel Company

How do I create a model in laravel?

Title: Clarifying Laravel Models: A Comprehensive Guide for Beginners When it comes to working on any project in Laravel, models are an essential component...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Get values of checkboxes

Title: Efficiently Retrieving Checked Values from Laravel Forms Body: The task of getting the values of checked checkboxes in a Laravel application might seem...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use multiple databases in Laravel

Title: Efficiently Utilizing Multiple Databases in Laravel Applications Introduction There are various use cases where a single database is insufficient to...

2026-06-29 Stefan Bogdanescu
Laravel Company

elastic search failed to parse date field with format [strict_date_optional_time||epoch_millis]

Title: Understanding and Resolving Date Parsing Issues When Updating Models in Laravel Introduction In Laravel applications, when an object model is updated,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check mail is sent successfully or not on Laravel 5

Title: Confirming Mail Sent Successfully on Laravel 5 Introduction In many applications, sending emails is one of the crucial aspects that often requires...

2026-06-29 Stefan Bogdanescu
Laravel Company

can't write image data to path in laravel using the Intervention library

Title: Solving "Can't Write Image Data to Path" Issue in Laravel Using Intervention Library Body: In this blog post, we will discuss the causes and solutions...

2026-06-29 Stefan Bogdanescu
Laravel Company

Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist

Title: Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist Body: Using Laravel 8.75 and trying to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Unresolvable dependency resolving [Parameter #0 [ <required> $name ]]

Title: Unraveling Dependency Resolution Issues in Laravel Applications Introduction: When working with Laravel, we come across several error messages that can...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Property [title] does not exist on the Eloquent builder instance

Title: Troubleshooting Laravel Property Access Issues on Eloquent Builder Instances Introduction In the world of web development, debugging errors can be a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent: multiple foreign keys for relationship

Title: Laravel Eloquent: Handling Multiple Foreign Keys for Relationships without Modifying Database Schema Body: You are in the process of porting a project...

2026-06-29 Stefan Bogdanescu