Laravel Datatables Spalten HTML bearbeiten

use DataTables;

Route::get('user-data', function() {
    $model = App\User::query();

    return DataTables::eloquent($model)
                ->editColumn('name', function(User $user) {
                    return 'Hi ' . $user->name . '!';
                })
                ->toJson();
});
Murilo Martinatti