i want access file i upload from client side using an array in php.
this is my request
{
    "first_name": "name",
    "last_name": "test",
    "religion": "islam",
    "date_of_birth": "2022-12-01",
    "phone": "213123123",
    "gender": "male",
    "identity_cards": [
        {
            "document_category_id": "1",
            "number": "1283712",
            "exp_date": "2020-11-20",
            "image": {}
        }
    ]
}
how can i possible to access the images?
i try some method like
$request->file('identity_cards[0][image]');
but doesn't work
 
     
     
    