Blog
Insights, guides, and best practices from the Laravel Company team.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...