Category Laravel

Why You should not decrypt hash Password in Laravel

decrypt hash Password in Laravel

In Laravel, as well as in any secure system, the idea of not decrypting hashed passwords is deeply grounded in essential security concepts. Here’s why you shouldn’t (and realistically can’t) decrypt hashed passwords. One-Way Hashing for Security Hashing is a…

Laravel 10 REST API Image Upload Example

Laravel 10 REST API Image Upload Example

In this tutorial, we will learn how to upload an image in a REST API using Laravel 10. We will also validate the image before uploading it. Step 1: Create Laravel Project Run below command to create laravel project. Now,…

Laravel Inertia Vue 3 Form Validation

Inertia Vue 3 Form Validation

In this short tutorial, we will see how to validate form data using Laravel Inertia and Vue 3. For this section, we will use Vue 3 SFCs method <script setup>. 1. Create a simple CategoryController.php and validate and store data.…

Laravel find() method Example

Laravel find() method

In this short tutorial, we will see some examples of Laravel’s find method. The find method returns the model that has a primary key matching the given key. It can also return all models which have a primary key in…

How to Add Wishlist in Laravel

How to Add Wishlist in Laravel

In this section, we’ll see how to integrate a wishlist system into Laravel 9 using the Laravel Markable package. This package facilitates wishlist management, allowing users to create and edit their own wishlists. Step 1: Install Laravel & Connect Database…