convert php array to javascript json laravel 1

convert php array to javascript json laravel