Contextual Classes

@php $json = file_get_contents(public_path('../public/assets/json/basic-tables.json')); $basics = json_decode($json, true); @endphp @foreach ($basics as $basic) @endforeach
Firstname Lastname Email
{{ $basic['Firstname'] }} {{ $basic['Lastname'] }} {{ $basic['Email'] }}

Responsive Tables

@php $json = file_get_contents(public_path('../public/assets/json/tables-responsive.json')); $basics = json_decode($json, true); @endphp @foreach ($basics as $basic) @endforeach
# Firstname Lastname Age City Country
{{ $basic['#'] }} {{ $basic['Firstname'] }} {{ $basic['Lastname'] }} {{ $basic['Age'] }} {{ $basic['City'] }} {{ $basic['Country'] }}