secure-env-php
secure-env-php copied to clipboard
Env encryption and decryption library.
I just fixed a bug
Error on: johnathanmiller/secure-env-php/src/Parser.php on line 27 g is implicit with preg_replace() and can be removed to make the code functional again
I read your example in [medium](https://medium.com/@johnathanmiller/securing-php-environment-variables-for-production-use-f867e584a1f9) but did not understand how it works at all. I encode successfully but I do not know how to use it in Laravel.
Added a function that might be useful for the users to clear database environment variables from $_ENV global variable
Just some thoughts for doing this: * Have a `KeyStorage` interface with `getSecretKey()` method * Let the user pass their KeyStorage object in the initialization Going this route, you might...
This avoids fatal errors when openssl_decrypt returns false.
Hello, I just discovered this project today; thanks. ### The Issue Some people are having trouble with `Parser.php` for some times. https://github.com/johnathanmiller/secure-env-php/pull/6 https://github.com/johnathanmiller/secure-env-php/issues/9 And I was very surprised to know...