Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $validatedData = $request->validate([
- 'images' => 'required',
- 'images.*' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048'
- ]);
- $validatedData = $request->validate([
- 'image' => 'required',
- 'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048'
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement