Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $validator = Validator::make($request->all(), [
- 'post-title' => 'required',
- 'price' => 'required',
- 'example-rd-custom-inline' => 'required',
- 'example-rd-custom-primary-lg' => 'required',
- 'sell_type' => 'required',
- 'condition' => 'required',
- 'description' => 'required',
- 'img-up' => 'required',
- 'img-up.*' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',
- 'name' => 'required',
- 'password' => 'sometimes|required',
- 'email' => 'required',
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement