Friday, March 10, 2017

How to get names from collection Laravel?

In template Laravel I need to show name field from collection:

[{"announcement_id":2,"name":"Name1","amount":1},{"announcement_id":2,"name":"Name2","amount":2}]

About I want to get the following:

<h2>Name1 / Name 2</h2>



via Darama

Advertisement