skip to Main Content

Modify JSON output in Laravel

I want to remove some elements from my JSON output. My Output is: [ { "current_page": 1, "data": [ { "_id": "6580f69587f0f77a14091c22", "email": "[email protected]", "first_name": "Janz", "last_name": "Boy", "password": "1995", } ], "first_page_url": "http://localhost:8000/api/customer?page=1" } ] I want a simple…

VIEW QUESTION
Back To Top
Search