Laravel 8 Multiple Images Upload with . After creating database we need to set database credential in applications .env file. Laravel will place the new rule in the app/Rules directory. but what is the best way to add "jpg" other than upgrade Laravel version? Step 7 - Make Upload Directory. Required . Open the CustomErrorController.php file and put the following code in it. Example 1: Simple Laravel Image Validation Rule. Asking for help, clarification, or responding to other answers.