[SOLVED] ErrorException preg_match(): No ending delimiter ‘/’ found

I’m working on Laravel 5.8. I’m trying to use Validator to validate a name field with regex, here is my rule below:   But as soon as…

Read More

Create Laravel multiple upload images and Displaying on view

Today , We will build a simple multiple images upload system using Laravel 5.8. We will use a jQuery plugin to populate image field and submit the multiple images to…

Read More

Special Characters Not Allowed Validation in Laravel 5.8

 let’s see example of laravel validation no special characters. Example -1 use this code for validation:-  ‘name’ =>  ‘required|regex:/^[a-zA-Z]+$/u’ Example:2- Use this code for validation:- ‘applyjobsforuser’ => ‘required|unique:applyjobs,applyjobsforuser’, Example-3 use this code…

Read More

Request Validation in Laravel.

Request Validation using ValidatesRequest Trait in Laravel. (Click to Open) Request Validation using Form Request in Laravel. (Click to Open) Request Validation using Custom Validator in Laravel….

Read More

How to Create a Simple Login Authentication System in LARAVEL?Part-2

How to Create a Simple Login Authentication System in LARAVEL? Firstly, Visit this Blog Part-1. Step 15. Now add these classes within MainController file. Step 16. Create…

Read More

[SOLVED] Laravel Error: Integrity constraint violation: 1062 Duplicate entry

This Error is found when we insert duplicate data which already exist in the database. To overcome from it just make the key_name unique in Validation. See…

Read More

Request Validation using Custom Validator in Laravel.

To use the custom validator, first, we have to load it in our controller by writing use Validator. After that, we have to use make method of…

Read More

Request Validation using Form Request in Laravel.

First of all, we have to make a request class by below command php artisan make:request Now, we have to load the custom request file into the…

Read More

Request Validation using ValidatesRequest Trait in Laravel.

Q1. What is Validation? Validation is used to protect or validate the request we’re getting from the user. Suppose we make a form and we’ve not used…

Read More