Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

UmeshAP's avatar

How to Pass class object as parameter to POST method in php laravel 5.3

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.

0 likes
1 reply
UmeshAP's avatar

Please provide sample example to route POST request with class object as parameter. I am struggling whole day for the same.

Please or to participate in this conversation.