Blog

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

Laravel Company

How to show validation errors in laravel API while having a form request file separate from controller

# How to Show Validation Errors in Laravel API While Using Separate Form Requests As developers building robust APIs with Laravel, separating business logic,...

2026-06-29 Stefan Bogdanescu
Laravel Company

Composer 2.0.8 issue package-versions-deprecated

# Debugging Dependency Hell: Troubleshooting Failed Composer Installations in Laravel Projects Working within the PHP ecosystem, especially when dealing with...

2026-06-29 Stefan Bogdanescu
Laravel Company

simple way to include node_modules in laravel 5.5

# The Right Way to Handle `node_modules` in Laravel 5.5: Mastering Asset Bundling As developers working with older frameworks like Laravel 5.5, one of the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 8: Method Illuminate\Database\Eloquent\Collection::latest does not exist

# Decoding the Error: Why `->latest()` Fails on Eloquent Collections in Laravel As senior developers, we often encounter frustrating errors when working with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Calling other function in the same controller?

Title: Calling Other Functions in the Same Controller: A Comprehensive Guide to Avoiding Errors in Laravel Controllers As a developer, you might occasionally...

2026-06-29 Stefan Bogdanescu
Laravel Company

Difference between timestamp() and dateTime() methods of the Blueprint class

# Demystifying Time in Laravel: The Difference Between `timestamp()` and `dateTime()` As developers working with database migrations in Laravel, we spend a...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to drop softDeletes from a table in a migration

# How to Safely Drop `softDeletes` Columns in Your Laravel Migrations As developers building robust applications with Laravel, managing database schema changes...

2026-06-29 Stefan Bogdanescu
Laravel Company

running laravel horizon in production throw a 403 error when requesting domain/horizon

# Solving the Production Paradox: Why Laravel Horizon Throws a 403 Error Migrating any application from a local development environment to a live production...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel migration boolean field created in Db like tiny integer

# Laravel Migration Boolean Fields: Understanding the Tiny Integer Behind the Scenes As a senior developer working with the Laravel ecosystem, we often write...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to show inertia data to Vue Componets?

# How to Show Inertia Data in Vue Components: A Complete Guide As a senior developer working with the Laravel and Vue ecosystem, you’ve likely encountered...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to refer laravel csrf field inside a vue template

# How to Refer the Laravel CSRF Field Inside a Vue Template: Bridging Server and Client Security As a senior developer working at the intersection of backend...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - How decrypt value of cookie

# Laravel: How to Retrieve Cookie Values Effectively Hello there! Dealing with cookies in web applications often brings up questions about data security,...

2026-06-29 Stefan Bogdanescu