form validation with larvel api

111

form validation with larvel api -

use Illuminate\Support\Facades\Validator;

$validator = Validator::make($request->all(), [
    'photos.profile' => 'required|image',
]);

Comments

Submit
0 Comments