Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Validation

    $validated = $request->validate([
        'title' => 'required|unique:posts|max:255',
        'body' => 'required',
    ]);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #Laravel #Validation
ADD COMMENT
Topic
Name
1+5 =