Level 60
what are your trying to achieve?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i am store 2 data base in single controller and use DB::beginTransaction
store is working !
the problem is
public function edit(Organization $organization, BasicOrgInfo $basicOrgInfo)
{
return response()->json($organization);
}
Organization and BasicOrgaInfo HAS one to one relationship! can i pass json ($organization, $basicOrgInfo) like this?
Please or to participate in this conversation.