Level 1
Please provide sample example to route POST request with class object as parameter. I am struggling whole day for the same.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am new to PHP Laravel development. Can anyone suggest me how to send class object (model object) as parameter in POST method using Laravel 5.3 I have ready application in Java & trying to convert in PHP Laravel framework. All over application, created models for search & insert into DB. I ma avoiding major chnages so need of passing model object to controller. Pls Pls provide sample example. Thanks in advance.
Please or to participate in this conversation.