📜  php artisan make:request - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:03.734000             🧑  作者: Mango

代码示例4
#  = foo,bar,...
#  = array field
#  = amount of characters

# accepted                               # active_url
# after:                       # after_or_equal:
# alpha                                   # alpha_dash
# alpha_num                               # array
# bail                                    # before:
# before_or_equal:              # between:min,max
# boolean                               # confirmed
# date                                   # date_equals:
# date_format:                    # different:
# digits:                       # digits_between:min,max
# dimensions:               # distinct
# email                                   # ends_with:
# exclude_if:,           # exclude_unless:,
# exists:,               # file
# filled                               # gt:
# gte:                           # image
# in:                           # in_array:
# integer                               # ip
# ipv4                                 # ipv6  
# json                                   # lt:
# lte:                          # max:
# mimetypes:video/avi,...               # mimes:jpeg,bmp,png
# min:                           # not_in:
# not_regex:                    # nullable
# numeric                               # password:
# present                               # regex:
# required                               # required_if:,
# required_unless:,      # required_with:
# required_with_all:           # required_without:
# required_without_all:        # same:
# size:                       # starts_with:
# string                               # timezone
# unique:
, # url # uuid