mercredi 29 mars 2017

Laravel - Call Crypt::decrypt() in blade template

i'm using datatables serverside to get all the data from 2 tables and display them. One of the values that i get is encrypted in the database.

Is there any way to decrypt this value within the blade template before displaying it?

I'm editing other values of the tables using

"mRender": function (data, type, full) {}

Tried to use Illuminate\Support\Facades\Crypt::decrypt($value) but it has no result.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ni39vG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire