Category: Laravel

Browse all published posts in this category.

View all blog posts
..

Laravel Custom Forgot & Reset Password Example

In this blog post, I’ll walk you through building a custom "Forgot Password" and "Reset Password" feature in Laravel — without using Laravel Breeze/Fortify's default implementation.

This solution gives you full control over the password reset process, using Laravel's built-in features like mailing, routing, validation, and the password resets table.

..

How to Print a For Loop Like Laravel Foreach Loop in Alpine.js

In Laravel, the foreach loop is widely used to iterate through collections efficiently. However, when working with Alpine.js, you might wonder how to achieve similar looping functionality dynamically in the frontend. In this guide, we'll explore how to replicate Laravel's foreach loop using Alpine.js’s x-for directive to display user data dynamically.