File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,15 @@ similar to laravel eloquent `where` and `orWhere`.
98
98
```
99
99
100
100
### Encrypt your current data
101
- If you have current data in your database you can encrypt it with the:
102
- ` php artisan encryptable:encryptModel 'App\User' ` command.
101
+ If you have current data in your database you can encrypt it with the following command.
102
+
103
+ ``` php artisan encryptable:encryptModel 'App\User'
104
+ ```
103
105
104
- Additionally you can decrypt it using the:
105
- ` php artisan encryptable:decryptModel 'App\User' ` command.
106
+ Additionally you can decrypt it using the following commmand.
107
+
108
+ ``` php artisan encryptable:decryptModel 'App\User'
109
+ ```
106
110
107
111
Note: You must implement first the ` Encryptable ` trait and set ` $encryptable ` attributes
108
112
You can’t perform that action at this time.
0 commit comments