php array to javascript array laravel blade code example Example: laravel javascript array from blade var app = @json($array);