Laravel Datatables Modifier la colonne HTML

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