W
W
wefhuieu2020-08-07 14:52:20
Laravel
wefhuieu, 2020-08-07 14:52:20

Laravel processing data before adding to database?

Hello guys, please tell me how to process data before adding it to the database, for example, DLE has a safesql( data ) function, but how does it work in Laravel? For some reason I can't find it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
Gleb Starkov, 2020-08-07
@colonel

Validation in Laravel

M
Mokhirjon Naimov, 2020-08-07
@zvermafia

You need this: Observers .

J
jazzus, 2020-08-08
@jazzus

to avoid sql injections, Query Builder will help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question