convert array of array to array laravel code example Example: laravel array to js var app = @json($array);