Blog
Insights, guides, and best practices from the Laravel Company team.
Translate to Blade+Laravel a while loop
# Translating `while` Loops: Why You Should Never Use Them Directly in Blade As a senior developer working within the Laravel ecosystem, I often encounter...
Laravel : The payload is invalid
# Laravel: Decoding the "The payload is invalid" Error After Upgrades I recently went through a significant upgrade path for two of my Laravel applications,...
Using $this when not in object context - Laravel 4 PHP 5.4.12
# Using `$this` When Not in Object Context: A Deep Dive for Laravel Developers As a senior developer working with frameworks like Laravel, understanding the...
Fortify - How to customise verification / password reset emails?
# Fortify Customization: Mastering Verification and Password Reset Emails Implementing robust authentication features like those provided by Laravel Fortify is...
Class 'App\Models\Student' not found when trying to acces model
# Resolving the Dreaded Error: Why 'Class 'App\Models\Student' not found Happens in Laravel Welcome to the world of Laravel! As you dive into building dynamic...
Laravel Eloquent: Extract all entries that begin with a list of provided string
# Laravel Eloquent: Extracting Entries That Begin With a List of Strings As developers working with relational databases through an ORM like Laravel Eloquent,...
Getting user data with Laravel Sanctum
Title: Efficiently Retrieving User Data with Laravel Sanctum: A Comprehensive Guide Body: Migrating from Laravel's built-in api token authentication to Laravel...
How to use submit value in Controller switch case function?
# How to Use Submit Values in Controller Switch Case Functions: Mastering Form Data Handling in Laravel As developers working with web frameworks like Laravel,...
laravel : count(): Parameter must be an array or an object that implements Countable
# Solving the Eloquent Count Error: Understanding `count(): Parameter must be an array or an object that implements Countable` As a senior developer working...
Upload file using Guzzle
# Mastering File Uploads: Translating cURL Multipart Requests to Guzzle in PHP As senior developers, we often deal with bridging different communication...
How to add multiple roles to a route group laravel
# Mastering Multi-Role Route Protection in Laravel: A Deep Dive As developers building complex applications on Laravel, role-based access control (RBAC) is a...
Laravel - 403 invalid signature on email verification
# Laravel Email Verification: Solving the 403 Invalid Signature Timeout Mystery Enabling email verification is a crucial step for building trust and ensuring...