PHPackages                             axel-dzhurko/laravel-secret-env - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. axel-dzhurko/laravel-secret-env

ActiveLibrary[Security](/categories/security)

axel-dzhurko/laravel-secret-env
===============================

Save your environment in encrypted mode.

1.2(4y ago)016MITPHPPHP ^7.0|^8.0

Since Nov 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Axel1987/LaravelSecretEnv)[ Packagist](https://packagist.org/packages/axel-dzhurko/laravel-secret-env)[ RSS](/packages/axel-dzhurko-laravel-secret-env/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require axel-dzhurko/laravel-secret-env
```

The package will automatically register itself.

You can optionally publish the configuration with:

```
php artisan vendor:publish --provider="LaravelSecretEnv\CredentialsServiceProvider" --tag="config"
```

Lumen instalation
-----------------

[](#lumen-instalation)

In `bootstrap/app` need register provider

```
$app->register(\LaravelSecretEnv\CredentialsServiceProvider::class);

```

Publish config file use command

```
cp vendor/axel-dzhurko/laravel-secret-env/config/credentials.php config/credentials.php

```

### This is the content of the published config file:

[](#this-is-the-content-of-the-published-config-file)

```
