Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

form validation with larvel api

use IlluminateSupportFacadesValidator;

$validator = Validator::make($request->all(), [
    'photos.profile' => 'required|image',
]);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #form #validation #larvel #api
ADD COMMENT
Topic
Name
2+6 =