Blog

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

Laravel Company

Laravel check property exist

# The Rational Way to Check Nested Properties in PHP: Moving Beyond Deep `if` Chains As developers working with complex object structures, especially within...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.8 .env.testing file is not working

# Decoding Laravel Testing: Why Your `.env.testing` File Seems Broken As a senior developer working within the Laravel ecosystem, we often encounter subtle yet...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to to send mail using gmail in Laravel?

Title: A Comprehensive Guide on Sending Emails Using Gmail with Laravel Body: For many developers working with Laravel, sending emails from localhost can be a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel: command Not found

# Laravel: Command Not Found – Decoding the Global Installation Mystery If you've ever spent time meticulously following installation guides, modifying...

2026-06-29 Stefan Bogdanescu
Laravel Company

The request response was returned in $kernel->handle($request)

# Decoding the Core: Understanding `$kernel->handle($request)` in Laravel As developers working with frameworks like Laravel, understanding the internal...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to get the first record with laravel 4 raw queries

# How to Get the First Record with Laravel Raw Queries: A Developer's Guide Whenever you are working with raw database queries in Laravel, especially when...

2026-06-29 Stefan Bogdanescu
Laravel Company

Implementing group_by and having in Laravel using Eloquent

# Mastering Aggregation in Laravel: Solving the `group_by` and `having` Puzzle As a senior developer working with Laravel, you frequently encounter scenarios...

2026-06-29 Stefan Bogdanescu
Laravel Company

Use sessions in laravel APIs

# The Stateless Dilemma: Using Sessions in Laravel APIs for Two-Factor Authentication As a senior developer working with Laravel, we often build robust...

2026-06-29 Stefan Bogdanescu
Laravel Company

Lumen make:command

# Beyond `make:command`: Executing Code in Lumen via the CLI As developers transitioning between full-stack frameworks like Laravel and its lighter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Missing `Kernel.php` file in Laravel project

# Missing `Kernel.php` in Laravel: Diagnosing and Restoring Your Application Structure Dealing with missing core files in a framework like Laravel can be...

2026-06-29 Stefan Bogdanescu
Laravel Company

laravel error : Namespace declaration statement has to be the very first statement or after any declare call in the script

# Solving the Dreaded Namespace Error in Laravel: A Deep Dive into PHP File Structure As a senior developer working with modern frameworks like Laravel, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

PHP 5.4 & Laravel Class 'Memcached' not found

# PHP 5.4 & Laravel Class 'Memcached' not found: Debugging a Common Caching Headache I realize there are about ten questions out there regarding caching...

2026-06-29 Stefan Bogdanescu