Blog

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

Laravel Company

Laravel sanctum change csrf cookie route

# Mastering Sanctum CSRF Cookies: Changing the `/sanctum/csrf-cookie` Route As a senior developer working with Laravel, customizing core framework features...

2026-06-29 Stefan Bogdanescu
Laravel Company

Error trying to publish config file of laravel-livewire?

# Solving the Mystery: Error Trying to Publish Livewire Config File As a senior developer, I frequently encounter situations where documentation points to one...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Passport: How do i get Access token from Bearer Token

# Laravel Passport: How to Get the `oauth_access_tokens` ID from a Bearer Token When implementing OAuth 2.0 with Laravel Passport, securing endpoints using...

2026-06-29 Stefan Bogdanescu
Laravel Company

Call to a member function addEagerConstraints() on string

# Call to a Member Function on Polymorphic Relations: Mastering Averages in Eloquent As senior developers working with Laravel and Eloquent, we frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist

Title: Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist Body: Using Laravel 8.75 and trying to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Configure Memcached in Laravel

# Configure Memcached in Laravel: A Deep Dive for Performance As senior developers, we understand that application performance hinges on efficient data...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to change all cell's height and width in laravel excel

# Mastering Bulk Formatting in Laravel Excel: How to Set All Row Heights and Widths Efficiently As a senior developer working with data export solutions, we...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to insert data into table during migration in Laravel 8?

# How to Insert Bulk Data into Tables During a Laravel Migration: The Efficient Way As developers working with relational databases in Laravel, one common...

2026-06-29 Stefan Bogdanescu
Laravel Company

New to Laravel PHP framework. Routes other than "/" doesn't work

# Solving the Laravel Routing Mystery: Why Other Routes Fail After Setup Welcome to the world of Laravel! As a developer transitioning from frameworks like...

2026-06-29 Stefan Bogdanescu
Laravel Company

Method Illuminate\Database\Eloquent\Collection::update does not exist

# Solving the Eloquent Update Mystery: Why `update()` Fails on Your Models As a senior developer, I’ve seen countless developers stumble over seemingly simple...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel routing: how to pass parameter to controller (not via URL)?

# Laravel Routing: How to Pass Parameters to the Controller (Not via URL) As developers working with Laravel, we constantly deal with the challenge of mapping...

2026-06-29 Stefan Bogdanescu
Laravel Company

is there any better way to handling axios error with laravel and vue js

# Mastering Axios Error Handling in Laravel + Vue.js: A Centralized Approach When building modern Single Page Applications (SPAs) using a robust backend like...

2026-06-29 Stefan Bogdanescu