Category : Laravel

HomeArchive by Category Laravel

Laravel remove &quot from json

When getting data in json $users = User::all()->json(); In blade template using the data var users = {{ $users }} It will return error because the encoding will get code likeĀ &quot Escaping the data with {{ }} automatically in Laravel 5. Use {!! $users !!} instead.
Continue Reading