Blog

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

Laravel Company

How to get list of all cached items by key in Laravel 5?

Title: Exploring Laravel Cache: Managing and Retrieving Stored Items Efficiently Body: Laravel's Cache class offers various methods to handle cache items,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel eloquent model model attribute casting (Which attribute types should I cast?)

Title: Comprehensive Guide on Laravel Eloquent Model Attribute Casting: Which Attributes to Cast? Introduction: Laravel is well-known for its expressive and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Passing parameters to middleware in Laravel

Title: Efficiently Passing Parameters to Middleware in Laravel Body: In Laravel, middleware is a powerful tool for handling requests before the controller or...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Copy record and duplicate with new values

Title: Effortlessly Copying Records with Different Values in Laravel While Maintaining Data Integrity Introduction: Working with Laravel applications, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Valet 502 Bad Gate Way nginx/1.15.7

Title: Troubleshooting Laravel Valet's 502 Bad Gateway Issue with nginx/1.15.7 Introduction: In today's world of web development, the Laravel framework...

2026-06-29 Stefan Bogdanescu
Laravel Company

Synchronizing a one-to-many relationship in Laravel

Title: Efficiently Synchronizing One-to-Many Relationships in Laravel Body: In modern web development, there are several relational database operations that...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to correctly return a JSON Response in Laravel?

Title: How to Correctly Return a JSON Response with Custom Status Code in Laravel? Introduction In this blog post, we will explore how to return a JSON...

2026-06-29 Stefan Bogdanescu
Laravel Company

Time format in laravel migration?

Title: Handling Time Format in Laravel Migrations - EU-Style Timestamps Made Simple When working with databases in your application, it's essential to handle...

2026-06-29 Stefan Bogdanescu
Laravel Company

How can I update image in edit view in laravel?

Updating Profile Picture in Laravel Edit View In Laravel, updating profile pictures while editing can be achieved using the correct approach. You need to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Custom Laravel validation messages

Title: Custom Laravel Validation Messages: A Comprehensive Guide Body: Implementing customized validation messages in your Laravel applications can help...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: Not picking up __invoke method?

Title: Troubleshooting Laravel Applications when Facing Issues with Invokable Controllers Laravel's invokable controllers allow you to define methods that can...

2026-06-29 Stefan Bogdanescu
Laravel Company

Insert Multiple Records At Once With Laravel

Title: Efficiently Insert Multiple Records Using Eloquent Models in Laravel Introduction In software development projects, it is quite common to work with...

2026-06-29 Stefan Bogdanescu