A
A
Abc Edc2016-01-13 08:28:36
Laravel
Abc Edc, 2016-01-13 08:28:36

What is the best way to implement this in laravel?

I need to switch to creating / updating, etc. through the api, but not from the client, but from the server, that is, the form came, validated, the mutators worked for good, and then instead of writing, a POST was sent,
but how best to implement this, through domain events or can implement some interfaces domain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gregory, 2016-01-13
@gleber1

Have you tried overriding the method save()on the model?

K
Kirill Nesmeyanov, 2016-01-13
@SerafimArts

Guys, try to translate this question into Russian publicly available.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question