This commit is contained in:
asep komarudin 2023-01-15 00:19:37 +07:00
parent e53a643e3d
commit 1ab37bd478
209 changed files with 79957 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
"Crypt-decrypt.sublime-snippet": {
"prefix": "Crypt::decrypt",
"body": [
"try {",
" ${1:\\$decrypted} = Crypt::decrypt(${2:\\$encryptedValue});",
"} catch (Illuminate\\Contracts\\Encryption\\DecryptException $e) {",
" $3",
"}$4"
],
"description": "Decrypt a value"
},
"Crypt-encrypt.sublime-snippet": {
"prefix": "Crypt::encrypt",
"body": [
"Crypt::encrypt(${1:\\$value});$2"
],
"description": "Encrypt a value"
}
}