Laravel: validate an integer field that needs to be greater than another

前端 未结 8 2205
情歌与酒
情歌与酒 2020-11-27 15:08

I have two fields that are optional only if both aren\'t present:

$rules = [
  \'initial_page\' => \'required_with:end_page|integer|min:1|digits_between:          


        
8条回答
提交回复
热议问题