Skip to content

Commit b325f86

Browse files
Merge pull request #31 from shaikhabdulqadir/patch-1
doc: update readme
2 parents a0dabb8 + cb71d1f commit b325f86

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,17 @@ similar to laravel eloquent `where` and `orWhere`.
9898
```
9999

100100
### 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+
```
103106

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+
```
106112

107113
Note: You must implement first the `Encryptable` trait and set `$encryptable` attributes
108114

0 commit comments

Comments
 (0)
close