How do I manipulate a Laravel collection into an array of objects with nested arrays?

前端 未结 0 1925
野性不改
野性不改 2021-02-19 11:29

My app uses Vue.js for the frontend and Laravel 8 for the backend. I am trying to build an array of objects from a Laravel collection selected from the database. I pull the col

相关标签:
回答
  • 消灭零回复
提交回复
热议问题