Blog

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

Laravel Company

Laravel generating fake images from a specific path

# Mastering Fake Image Paths in Laravel Factories: A Guide for Media Management As a senior developer working with Laravel, setting up robust testing...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Group By and Sum total value of other column

# Mastering Group By and Sum Total Values in Laravel Eloquent As a developer working with relational databases, one of the most frequent operations we perform...

2026-06-29 Stefan Bogdanescu
Laravel Company

VScode unable to save files inside my WSL2 home folder

Title: Troubleshooting VSCode's File Saving Issues Within WSL2 Home Folder Intro: If you have been working with Windows Subsystem for Linux (WSL) and...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel ordering results of a left join

# Mastering Complex Joins in Laravel: Ordering Results with Left Joins As senior developers working with relational databases, we often encounter scenarios...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to get random value from enum class in PHP?

# How to Get a Random Value from an Enum Class in PHP: A Practical Guide As developers working with modern PHP features, leveraging enums provides immense...

2026-06-29 Stefan Bogdanescu
Laravel Company

Better way to read Laravel (PHP) Logs

# Ditching SSH: The Better Way to Monitor Laravel Logs in Production As a senior developer, I’ve seen countless applications deployed, and one of the most...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel eloquent issue: Method does not exist

# Laravel Eloquent Issue: Why Does My Relationship Method Not Exist? A Deep Dive As a senior developer working with the Laravel ecosystem, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 4 background-image: url

# Mastering Asset Paths in Laravel Blade: Solving the `background-image` Dilemma As a senior developer working within the Laravel ecosystem, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Passing data from blade to controller Laravel

# Passing Data from Blade to Controller in Laravel: Solving the Null Object Mystery As senior developers working with the Laravel ecosystem, passing data...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel UpdateOrCreate

# Mastering Data Synchronization: A Deep Dive into Laravel's `UpdateOrCreate` As a senior developer working with Laravel, we frequently deal with scenarios...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - How to use onesignal notification

# Laravel & OneSignal: Sending Real-Time Product Notifications via Backend Data As a senior developer working with Laravel, you are looking to leverage your...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Eloquent ORM - removing rows and all the child relationship, with event deleting

# Laravel Eloquent ORM: Removing Nested Relationships with Event Deleting As senior developers working with relational data in Laravel, one of the most common...

2026-06-29 Stefan Bogdanescu