16
16
The purpose of this project is to create a set-it-and-forget-it package that can be
17
17
installed without much effort to encrypt and decrypt Eloquent model attributes stored
18
18
in your database tables, transparently. It is therefore highly opinionated but built
19
- for configuration.
19
+ for [ configuration] ( #step-3-configure-the-package ) .
20
20
21
- When enabled, it automagically begins encrypting data as it is stored in the model
22
- attributes and decrypting data as it is recalled from the model attributes.
21
+ When [ enabled] ( #step-2-enable-the-package-optional ) , it automagically begins encrypting
22
+ data as it is stored in the model attributes and decrypting data as it is recalled from
23
+ the model attributes.
23
24
24
25
All data that is encrypted is prefixed with a header so that encrypted data can be
25
26
easily identified, encryption keys rotated, and (optionally) versioning of the encrypted
@@ -53,7 +54,8 @@ directory. The most logical place to start are the [docs for the `HasEncryptedAt
53
54
+ [ Can I manually encrypt or decrypt arbitrary data?] ( #can-i-manually-encrypt-or-decrypt-arbitrary-data )
54
55
+ [ Can I search encrypted data?] ( #can-i-search-encrypted-data )
55
56
+ [ Can I encrypt all my ` User ` model data?] ( #can-i-encrypt-all-my-user-model-data )
56
- + [ Is this package compatible with elocryptfive out-of-the-box?] ( #is-this-package-compatible-with-elocryptfive-out-of-the-box )
57
+ + [ Is this package compatible with ` elocryptfive ` out-of-the-box?] ( #is-this-package-compatible-with-elocryptfive-out-of-the-box )
58
+ + [ Is this package compatible with ` insert-random-Eloquent-package-here ` ?] ( #is-this-package-compatible-with-insert-random-eloquent-package-here )
57
59
* [ Implementations] ( #implementations )
58
60
* [ Credits] ( #credits )
59
61
* [ Contributing] ( #contributing )
@@ -70,8 +72,8 @@ directory. The most logical place to start are the [docs for the `HasEncryptedAt
70
72
** Framework** |** Version** |** Release** |** Status** |** PHP v7.1** |** PHP v7.2** |** PHP v7.3**
71
73
:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:
72
74
Laravel|[ v5.5] ( https://laravel.com/docs/5.5/releases ) |[ v0.1.1] ( https://github.com/austinheap/laravel-database-encryption/releases/tag/v0.1.1 ) ([ Packagist] ( https://packagist.org/packages/austinheap/laravel-database-encryption#v0.1.1 ) )|Stable|[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.1.1 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.1.1 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.1.1 )] ( https://travis-ci.org/austinheap/laravel-database-encryption )
73
- Laravel|[ v5.6] ( https://laravel.com/docs/5.6/releases ) |[ v0.2.0] ( https://github.com/austinheap/laravel-database-encryption/releases/tag/v0.1.1 ) ([ Packagist] ( https://packagist.org/packages/austinheap/laravel-database-encryption#v0.2.0 ) )|Beta|[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption )
74
- Laravel|[ v5.7] ( https://laravel.com/docs/5.7/releases ) |[ v0.2.0] ( https://github.com/austinheap/laravel-database-encryption/releases/tag/v0.2.0 ) ([ Packagist] ( https://packagist.org/packages/austinheap/laravel-database-encryption#v0.2.0 ) )|Beta|[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0 )] ( https://travis-ci.org/austinheap/laravel-database-encryption )
75
+ Laravel|[ v5.6] ( https://laravel.com/docs/5.6/releases ) |[ v0.2.0-rc3 ] ( https://github.com/austinheap/laravel-database-encryption/releases/tag/v0.2.0-rc3 ) ([ Packagist] ( https://packagist.org/packages/austinheap/laravel-database-encryption#v0.2.0-rc3 ) )|Beta|[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption )
76
+ Laravel|[ v5.7] ( https://laravel.com/docs/5.7/releases ) |[ v0.2.0-rc3 ] ( https://github.com/austinheap/laravel-database-encryption/releases/tag/v0.2.0-rc3 ) ([ Packagist] ( https://packagist.org/packages/austinheap/laravel-database-encryption#v0.2.0-rc3 ) )|Beta|[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption ) |[ ![ Build Status] ( https://travis-ci.org/austinheap/laravel-database-encryption.svg?branch=v0.2.0-rc3 )] ( https://travis-ci.org/austinheap/laravel-database-encryption )
75
77
76
78
## Schemas
77
79
@@ -277,7 +279,7 @@ the encrypted value as needed.
277
279
278
280
No! The same issue with searching also applies to authentication because authentication requires search.
279
281
280
- ### Is this package compatible with [ elocryptfive] ( https://github.com/delatbabel/elocryptfive ) out-of-the-box?
282
+ ### Is this package compatible with [ ` elocryptfive ` ] ( https://github.com/delatbabel/elocryptfive ) out-of-the-box?
281
283
282
284
No! While it _ is_ a (more modern) replacement, it is not compatible directly out of the box. To migrate to this package from elocryptfive, you must:
283
285
@@ -291,6 +293,12 @@ No! While it _is_ a (more modern) replacement, it is not compatible directly out
291
293
292
294
A pull request for automated migrations is more than welcome but is currently out of the scope of this project's goals.
293
295
296
+ ### Is this package compatible with ` insert-random-Eloquent-package-here ` ?
297
+
298
+ Probably not! It's not feasible to guarantee interoperability between random packages out there, especially packages that also heavily modify Eloquent's default behavior.
299
+
300
+ Issues and pull requests regarding interoperability will not be accepted.
301
+
294
302
## Implementations
295
303
296
304
The following decently-trafficed sites use this package in production:
0 commit comments