Blog

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

Laravel Company

How to Decode Json object in laravel and apply foreach loop on that in laravel

Title: Efficiently Decoding JSON Objects and Applying Foreach Loops for Database Queries in Laravel Introduction ----------- In this tutorial, we will learn...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to fix laravel 8 UI paginate problem?

Title: Troubleshooting UI Pagination in Laravel 8: A Comprehensive Guide Introduction: Laravel 8 has introduced several new features and changes that may cause...

2026-06-29 Stefan Bogdanescu
Laravel Company

How do you check "if not null" with Eloquent?

Title: Checking If a Field is Not Null with Eloquent - A Comprehensive Guide Introduction: Eloquent, the object-relational mapping (ORM) library in Laravel,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Carbon how to change timezone without changing the hour

Title: Manipulating Time Zones with Laravel Carbon without Changing the Hour Value Body: Working with time zones in PHP applications can be tricky due to the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Group By Eloquent ORM

Title: Mastering GROUP BY Queries with Eloquent ORM Introduction: The world of data management continues to expand and evolve at an exponential rate. As...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Log object?

Title: Logging Objects in Laravel: A Comprehensive Guide for Developers Body: In the world of Laravel, logging is an essential part of debugging and monitoring...

2026-06-29 Stefan Bogdanescu
Laravel Company

'mix' is not recognized as an internal or external command in Laravel 8 new installation

Title: Understanding and Fixing the 'mix' Command Issue in Laravel 8 Installations Body: Introduction: In this blog post, we will discuss why you might...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel PDOException SQLSTATE[HY000] [1049] Unknown database 'forge'

Title: Unraveling PDOException Mysteries in Laravel - SQLSTATE[HY000] [1049] Error with 'forge' Database Laravel is a powerful PHP framework that simplifies...

2026-06-29 Stefan Bogdanescu
Laravel Company

No 'Access-Control-Allow-Origin' header - Laravel

Title: Debugging "No 'Access-Control-Allow-Origin' header" Issues in Laravel Introduction: One of the most critical issues that developers face when working...

2026-06-29 Stefan Bogdanescu
Laravel Company

Symfony\Component\HttpKernel\Exception\NotFoundHttpException Laravel

Title: Understanding and Solving Symfony\Component\HttpKernel\Exception\NotFoundHttpException Issues in Laravel RESTful Controllers Body: You've encountered a...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to auto import laravel class in vs code

Title: Effortlessly Auto Import Laravel Classes in VS Code Using Extensions Introduction: In today's fast-paced world of software development, efficiency is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel eloquent multiple WHERE with OR AND OR and LIKE?

Title: Querying Laravel Eloquent with Multiple Conditions and LIKE Statements Laravel's query builder is incredibly powerful and flexible, allowing you to...

2026-06-29 Stefan Bogdanescu