Download the PHP package izica/laravel-env-secure without Composer
On this page you can find all versions of the php package izica/laravel-env-secure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download izica/laravel-env-secure
More information about izica/laravel-env-secure
Files in izica/laravel-env-secure
Download izica/laravel-env-secure
More information about izica/laravel-env-secure
Files in izica/laravel-env-secure
Vendor izica
Package laravel-env-secure
Short Description Secure Laravel .env variables
License MIT
Homepage https://github.com/izica/laravel-env-secure
Package laravel-env-secure
Short Description Secure Laravel .env variables
License MIT
Homepage https://github.com/izica/laravel-env-secure
Please rate this library. Is it a good library?
Informations about the package laravel-env-secure
Laravel env secure
PRs are welcome
Description
Simple Laravel package with zero dependencies for securing your env values, such as database passwords or API keys, to prevent exposure($_ENV or $_SERVER) due to mistakes
Prerequisites
This package using https://www.php.net/manual/en/ref.openssl.php
Installation
You can install the package via composer:
Publish config(optional)
Usage
1. Encrypt env value
Options:
- --cli - only print result in console don't rewrite .env
- --decrypt - decrypt env value
Example:
Your env file will change from:
to:
2. Change config to
Config
Security recommendations
Set the key directly in the file, like:
Credits
- izica
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-env-secure with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
The package izica/laravel-env-secure contains the following files
Loading the files please wait ....