Blog

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

Laravel Company

How to create a password reset method in Laravel when using the Database User Provider

# How to Create a Password Reset Method in Laravel When Using the Database User Provider As a senior developer, I frequently encounter scenarios where the...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel Carbon\Carbon::setLastErrors() argument #1 ($lastErrors) must be of type array, bool given,

# Deciphering the Carbon Error: Why `setLastErrors()` Expects an Array, Not a Boolean As senior developers working with date and time manipulation libraries...

2026-06-29 Stefan Bogdanescu
Laravel Company

Get All ENV variables in Laravel

# The Developer's Guide: Getting All Environment Variables in Laravel Efficiently As developers working with frameworks like Laravel, we constantly interact...

2026-06-29 Stefan Bogdanescu
Laravel Company

findOrFail Laravel 5 function for specific field

# Mastering `findOrFail()`: Finding Records by Custom Fields in Laravel Eloquent As developers working with Laravel and Eloquent, we often rely on powerful...

2026-06-29 Stefan Bogdanescu
Laravel Company

Check if null and empty string in Laravel view

Title: Distinguishing Null Values and Empty Strings in Laravel Views Introduction: In Laravel, often we deal with different values such as null or empty...

2026-06-29 Stefan Bogdanescu
Laravel Company

Uncaught ReferenceError: can't access lexical declaration 'html' before initialization

# Decoding the Mystery: Understanding `Uncaught ReferenceError: can't access lexical declaration 'html' before initialization` As senior developers, we spend a...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel 5.7 email verification error, route [verification.verify] not defined

# Solving the Laravel Email Verification Roadblock: Understanding `Route [verification.verify] not defined` As a senior developer, I’ve seen countless...

2026-06-29 Stefan Bogdanescu
Laravel Company

Laravel - pluck with specified keys

# Laravel Eloquent: Mastering Custom Transformations with Pluck and Map As developers working with Laravel, we constantly bridge the gap between our robust...

2026-06-29 Stefan Bogdanescu
Laravel Company

Error: The "" scheme is not supported laravel

# Debugging Mail Issues in Laravel: Solving the "Scheme Not Supported" Error As a senior developer working with the Laravel ecosystem, dealing with mail...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to create schema table datatype longtext?

# Mastering Large Text: How to Create `LONGTEXT` Columns in Laravel As a senior developer working with relational databases and frameworks like Laravel, you...

2026-06-29 Stefan Bogdanescu
Laravel Company

How to set a Laravel Nova field to display as readonly or protected?

# How to Set a Laravel Nova Field to Display as Readonly or Protected When building complex administrative interfaces with Laravel Nova, developers often seek...

2026-06-29 Stefan Bogdanescu
Laravel Company

custom validation message in vee-validate

# Mastering Custom Error Messages in Vee-Validate: A Deep Dive for Vue Developers When building robust frontends with Vue.js, especially when integrating...

2026-06-29 Stefan Bogdanescu