Blog

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

Laravel Company

Get enum options in laravels eloquent

# Getting Enum Options in Laravel Eloquent: The Eloquent-Native Approach As a senior developer working with Laravel and Eloquent, you've hit upon a very common...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Spatie Get All Permissions with Eager Loading

# Mastering Eager Loading with Laravel Spatie Permissions: Solving the Eager Load Mystery Everybody dives into Eloquent relationships when working with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Undefined class constant 'App\Providers\RouteServiceProvider::HOME'

# Solving the `Undefined class constant 'App\Providers\RouteServiceProvider::HOME'` Error After Laravel Migration Upgrading a framework, especially when...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to calculate the percentage in eloquent?

# Calculating Percentages in Eloquent: A Database-First Approach As a senior developer, I often encounter scenarios where seemingly simple calculations bog...

2026-06-29 Stefan Bogdanescu
Laravel Company

The POST method is not supported for this route. Supported methods: GET, HEAD, PUT, PATCH, DELETE. Laravel 8

# Decoding the Error: Why Your Laravel File Upload POST Request Fails As a senior developer, I’ve seen countless developers grapple with seemingly simple...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to use Request->all() with Eloquent models

# Moving Beyond Manual Mapping: The Elegant Way to Send Request Data to Eloquent Models As a developer working with frameworks like Laravel and Lumen, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

How do I get database column names in Laravel?

# How Do I Get Database Column Names in Laravel? A Developer's Guide As developers working within the Laravel ecosystem, interacting with the underlying...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get Header Authorization key in laravel controller?

Title: How to Get Header Authorization Key in Laravel Controller for API Requests? Body: To get the header authorization key in your Laravel controller, it's...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to Solve Facade\Ignition\Http\Middleware\IgnitionEnabled?

# Mastering the Mystery: How to Solve and Understand `Facade\Ignition\Http\Middleware\IgnitionEnabled` As a senior developer working within the Laravel...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.4: How do I get records from just this week?

# Laravel 5.4: How Do I Get Records from Just This Week? Mastering Date Queries with Eloquent and Carbon As Laravel developers, we frequently need to interact...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel filament, is there any way to mutate TextColumn value in table?

# Mastering Filament Columns: How to Mutate Related Data in Your Tables As developers building complex interfaces with Laravel Filament, managing data...

2026-06-29 Stefan Bogdanescu
Laravel Company

Temporarily disable Laravel appends

# Temporarily Disabling Laravel Appends for Testing: A Developer's Guide As developers working with Eloquent in Laravel, we often deal with scenarios where the...

2026-06-29 Stefan Bogdanescu