Skip to content
Advertisement

Tag: solid

How to correctly handle laravel form?

I want to correctly handle user store form. I consider which patter will be the most correct/popular. It is repository pattern? Service pattern? Another difficulty: User form: name, email, postal code, city, street. I want to create two models in one form: User and Address. How can I solve it? I throught about: Issues i’m wondering about: UserRequest has data

Advertisement