Under GDPR's data minimization principle, which Laravel practice best aligns with only collecting what is necessary?
-
A
Using `$request->all()` to capture every submitted field and filter later in the controller
-
B
Using `$request->only(['name', 'email'])` or Form Request validation rules that explicitly allow only required fields
-
C
Storing all submitted data in a `raw_submissions` JSON column for later analysis
-
D
Encrypting all form fields before storage to reduce the risk of collecting excess data