app/Http/Requests/UsersRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'name'=>'required',
            'username'=>'required|min:8',
            'password'=>'required|min:8',
            'email'=>'required',
            'address',
            'cpf',
            'organization_id'
        ];
    }
public function rules ( ) { return [ 'name' => 'required' , 'username' => 'required|min:8' , 'password' => 'required|min:8' , 'email' => 'required' , 'address' , 'cpf' , 'organization_id' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .