Blog

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

Laravel Company

Laravel 9 - laravel new command has error: Deprecated: Return type of Symfony\Component\Process\Process::getIterator(int $flags = 0)

Title: Solving Deprecation Errors During Laravel Installation - A Comprehensive Guide Introduction Laravel is an incredibly powerful PHP framework, but...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to do this in Laravel, subquery where in

Title: Achieving Subqueries with IN 'where' in Laravel: Efficient Methods for Complex Queries Introduction -------------------- In the world of web application...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent $model->save() not saving but no error

Title: Troubleshooting Laravel Eloquent $model->save() Method Issues Body: When updating your Laravel application's model using the $model->save() method, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Setting Bootstrap navbar active class in Laravel

Title: Setting Bootstrap Navbar Active Class in Laravel - A Comprehensive Guide Body: As a newcomer to Laravel, you might encounter challenges when it comes to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check if validation failed in laravel

Title: Checking for Validation Failures in Laravel with $this->validate() Body: In Laravel 5.4 and later versions, you can use both the $this->validate()...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5 Class 'Collective\Html\HtmlServiceProvider' not found on AWS

Title: Laravel 5 Class 'Collective\Html\HtmlServiceProvider' Not Found on AWS: A Comprehensive Guide Body: I know there are a bunch of other questions floating...

2026-06-29 Stefan Bogdanescu
Laravel Company

Getting cURL error 3: <url> malformed (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) error after saving models in laravel 5.4

Title: Resolving cURL Error 3 After Saving Models in Laravel 5.4 Introduction Laravel is an efficient PHP framework that simplifies web application...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to get User()->id in Controllers (Laravel 8+)

Title: Retrieving User ID in Laravel Controllers (Laravel 8+) Introduction In your application, you have the necessity to access user ID in controllers,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Passport gives me "Invalid key supplied"

Title: Laravel Passport and Multi-Tenant Applications: An In-Depth Guide for Troubleshooting "Invalid Key Supplied" Issues Body: If you've been working on a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Database (database/database.sqlite) does not exist. Database works from artisan tinker

Title: Database (database/database.sqlite) does not exist. Database works from artisan tinker - Solving the Issue Body: Database management is an essential...

2026-06-29 Stefan Bogdanescu
Laravel Company

404 Not Found, but route exist in Laravel 5.4

Title: Understanding and Resolving 404 Not Found Errors Despite Existing Routes in Laravel 5.4 Introduction The Laravel framework offers an excellent...

2026-06-29 Stefan Bogdanescu
Laravel Company

DB::update laravel 5 raw query

Title: Performing Laravel 5 Update Queries Using DB::update() Introduction: In this blog post, we'll discuss how to perform update queries in your Laravel...

2026-06-29 Stefan Bogdanescu