Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...