Blog

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

Laravel Company

How to cast time in Laravel?

# How to Cast Time in Laravel: Mastering Database Time Formats As a senior developer working with Eloquent and Laravel, you frequently encounter scenarios...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to run laravel project on localhost using wamp?

# How to Run Your Laravel Project on Localhost: The Developer's Guide for WAMP Users Welcome to the world of Laravel! It’s exciting that you’ve successfully...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 8, whereRelation take the where value condition from model

# Laravel Eloquent Deep Dive: Handling Dynamic Conditions in Nested Relationships with `whereRelation` As senior developers working with Eloquent and complex...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check if Object already exists in Collection - Laravel

Title: Handling Object Duplications in Collections - Laravel Best Practices Body: In your code, you are retrieving objects from a database query using...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: How to enable stacktrace error on PhpUnit

# Laravel: How to Enable Detailed Stacktrace Errors in PHPUnit Testing Testing is the bedrock of reliable software development, and Test-Driven Development...

2026-06-29 Stefan Bogdanescu
Laravel Company

Mysql on docker gives "Connection refused" error

# MySQL on Docker Gives "Connection Refused": A Deep Dive into Docker Networking Issues As developers leveraging Docker and Docker Compose for local...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to update laravel project after changing javascript file and controller

# How to Update Your Laravel Project After Changing JavaScript and Controllers As developers working within the Laravel ecosystem, we constantly iterate on our...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.5 - Validate Multiple Form Request - at the same time

# Laravel 5.5: Validating Multiple Form Requests Simultaneously As senior developers working with complex applications in the Laravel ecosystem, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Error: Request failed with status code 500 Laravel/Vue

# Decoding the Error: Solving the Laravel/Vue 500 Internal Server Error on Form Submission As a senior developer working with full-stack frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent with()-> returning null

# Troubleshooting Eloquent: Why `with()` Relationships Return Null As a senior developer working with Laravel and Eloquent, dealing with relationships is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Using Laravel's toSql on queries using 'with' clause

# Unmasking Eloquent: Getting Full SQL for Eager Loaded Queries with `toSql()` As developers working with Laravel and Eloquent, one of the most powerful...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel 5.4 : Expected response code 250 but got code "530", with message "530-5.5.1 Authentication Required. Learn more at

# Resolving SMTP Authentication Errors in Laravel: The Case of Gmail and Code 530 As a senior developer working with frameworks like Laravel, we often...

2026-06-29 Stefan Bogdanescu