RSS Feed/News XF2 Request Validator

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,603
Points
823

Reputation:

One area where I think XenForo 2 could really level up its developer experience is request validation.

Right now, validation in XF2 is very controller/service-centric and scattered across different layers. In contrast, Laravel’s Request Validators provide a clean, declarative, and reusable way to define validation rules, authorization logic, and custom messages in a single place: https://laravel.com/docs/12.x/validation

I’d love to see something similar in XF2 — a dedicated “Request...

Read more

Continue reading...
 
Status
Not open for further replies.
Top