Blog

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

Laravel Company

how to create global function that can be accessed from any controller and blade file

Title: Effortlessly Create Global Functions for Access in Any Laravel Controller or Blade File Introduction Laravel is an amazing PHP framework that makes web...

2026-06-29 Stefan Bogdanescu
Laravel Company

Eloquent - join clause with string value rather than column heading

# Eloquent Joins: Joining on String Values Instead of Column Headings As developers working with Laravel and Eloquent, we often encounter situations where...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 6 : A facade root has not been set

# Laravel 6 Migration Nightmare: Solving the "Facade Root Not Set" Error Migrating a codebase, especially across major framework versions like Laravel 5.8 to...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to catch 500 error in Controller using Laravel

# How to Catch 500 Errors in Controller When Calling External APIs in Laravel Integrating external APIs is a cornerstone of modern application development. In...

2026-06-29 Stefan Bogdanescu
Laravel Company

Image class not found when using Intervention

# Solving the Mystery: Why `Image` Class Fails in Laravel with Intervention Image As a senior developer working within the Laravel ecosystem, we often...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - using onclick to submit form from checkbox

# Laravel Development Deep Dive: Handling Checkbox Submissions Dynamically As a senior developer working with the Laravel ecosystem, we often encounter...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 8 API returns HTML instead of JSON

# Laravel API Returns HTML Instead of JSON: A Deep Dive into Response Handling As developers working with modern full-stack frameworks like Laravel, the...

2026-06-29 Stefan Bogdanescu
Laravel Company

inertia + vue, send props to sub components?

# Inertia + Vue: Handling Data Flow in Nested Components—Avoiding Prop Drilling As developers working with modern full-stack frameworks like Laravel and Vue...

2026-06-29 Stefan Bogdanescu
Laravel Company

What does it mean to hydrate and dehydrate a Laravel Livewire component?

# What Does It Mean to Hydrate and Dehydrate a Laravel Livewire Component? When working with reactive frameworks like Laravel Livewire, understanding the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Best Laravel Scaffolding Crud Generator?

# Best Laravel Scaffolding CRUD Generator? Taming the Boilerplate Beast Adding Create, Read, Update, and Delete (CRUD) functionality to any application is...

2026-06-29 Stefan Bogdanescu
Laravel Company

Change Password In Laravel 5.4

# Fixing Password Hashing Issues in Laravel: A Deep Dive into `Hash` Facade As a senior developer, I frequently encounter situations where cryptographic...

2026-06-29 Stefan Bogdanescu
Laravel Company

Artisan migrate could not find driver

Title: Troubleshooting Artisan Migrate Errors: Fixing "could not find driver" Issues in Laravel Introduction Artisan migrate is an essential command for...

2026-06-29 Stefan Bogdanescu