File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,17 @@ 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
104
+ php artisan encryptable:encryptModel 'App\User'
105
+ ```
103
106
104
- Additionally you can decrypt it using the:
105
- ` php artisan encryptable:decryptModel 'App\User' ` command.
107
+ Additionally you can decrypt it using the following commmand.
108
+
109
+ ``` php
110
+ php artisan encryptable:decryptModel 'App\User'
111
+ ```
106
112
107
113
Note: You must implement first the ` Encryptable ` trait and set ` $encryptable ` attributes
108
114
You can’t perform that action at this time.
0 commit comments