Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Validation

    $validated = $request->validate([
        'title' => 'required|unique:posts|max:255',
        'body' => 'required',
    ]);
 
PREVIOUS NEXT
Tagged: #Laravel #Validation
ADD COMMENT
Topic
Name
6+2 =