Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel validation types

# <values> = foo,bar,...
# <field> = array field
# <characters> = amount of characters

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

PREVIOUS NEXT
Code Example
Php :: Advanced Custom Fields get sub field image 
Php :: acf get image id sub_field 
Php :: Use DateTime() and DateInterval() Objects for PHP 5.3 and Above and Calculate the Difference Between Two Dates Using PHP 
Php :: echo errors php 
Php :: symfony messenger 
Php :: create table laravel 
Php :: export mysql data to word in php 
Php :: how to debug in wordpress 
Php :: laravel where 2 column 
Php :: job execute async laravel 
Php :: wordpress rename post format 
Php :: find php ini 
Php :: route() and with() in laravel 
Php :: laravel queue timeout 
Php :: html in php function 
Php :: php pdo error 500 
Php :: laravel s3 download file 
Php :: signup form in php 
Php :: check current user role 
Php :: php interval day value 
Php :: validate either one field is required in laravel 
Php :: naming the routes in laravel 
Php :: laravel Access to HMLHttpRequest from origin has been blocked by CORS policy: No Access-Control-Allow-Origin 
Php :: php switch case greater than 
Php :: signup api in laravel 
Php :: laravel-enum 
Php :: php recortar string 
Php :: count cpt wp 
Php :: php foreach skip to next 
Php :: laravel when query 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =