Blog

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

Laravel Company

How to disable button in vuejs

Title: Effortlessly Enable and Disable a Button in VueJS Using Laravel Framework Introduction: In web development, ensuring form validation goes beyond just...

2026-06-29 Stefan Bogdanescu
Laravel Company

eloquent fetch records within recent 3 hours

# Eloquent Time Queries: Fetching Records from the Last 3 Hours Elegantly As a senior developer working with the Laravel ecosystem, we constantly seek the most...

2026-06-29 Stefan Bogdanescu
Laravel Company

Xdebug laravel artisan commands

# Mastering Xdebug for Artisan Commands: Why Breakpoints Fail in the CLI As a developer who relies heavily on debugging tools like Xdebug, I frequently...

2026-06-29 Stefan Bogdanescu
Laravel Company

Use other column values for Eloquent update

# Mastering Compound Updates in Eloquent: Calculating Columns from the Same Row As developers working with relational databases through an ORM like Eloquent,...

2026-06-29 Stefan Bogdanescu
Laravel Company

How would I set a default value of HTML number input type?

# Setting Default Values for HTML Number Inputs: Avoiding Database Null Errors in Laravel As a developer working with Laravel and relational databases, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 7 Vue 2 Sanctum Login Error 419; CSRF Token Mismatch

# The Silent Killer: Debugging Laravel Sanctum Login Errors (Error 419 CSRF Token Mismatch) As developers building modern Single Page Applications (SPAs) with...

2026-06-29 Stefan Bogdanescu
Laravel Company

Calling private function from laravel controller

# Mastering Controller Logic: Calling Private Functions in Laravel As senior developers, we often strive for clean, maintainable codebases. Extracting complex...

2026-06-29 Stefan Bogdanescu
Laravel Company

phpstan: class implements generic interface but does not specify its types error

# PHPStan: Class Implements Generic Interface but Does Not Specify Its Types Error ## Background I am building a utility class for a Laravel system designed to...

2026-06-29 Stefan Bogdanescu
Laravel Company

Vuetify - Add loading layer overlay on click event

# Vuetify Loading Overlays: Implementing Progress Indicators for a Better UX Welcome to the world of Laravel and Vuetify! As you start building dynamic...

2026-06-29 Stefan Bogdanescu
Laravel Company

How laravel `Auth:user()` or `Auth:id()` works

# How Laravel `Auth:user()` or `Auth:id()` Works: Session vs. Database As a senior developer, I’ve seen countless developers grapple with the intricacies of...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel eloquent pluck() method

# Mastering Data Extraction: Solving the Laravel Eloquent `pluck()` Mystery As senior developers working with the Laravel ecosystem, we often deal with complex...

2026-06-29 Stefan Bogdanescu
Laravel Company

Removing column from database in Laravel 5+

Title: Removing Columns from a Database without Losing Existing Data in Laravel 5+ Introduction: The process of changing the structure of your database is...

2026-06-29 Stefan Bogdanescu