Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Validation

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