Skip to content

Instantly share code, notes, and snippets.

View elenakondrateva's full-sized avatar

Elena Kay elenakondrateva

View GitHub Profile
@ukautz
ukautz / EncryptEnvCommand.php
Last active July 19, 2016 23:35
Laravel command to encrypt environment variable values for safe storage
<?php
// app/Console/Commands/EncryptEnvCommand.php
namespace Ictus\Hub\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Encryption\Encrypter;
use Symfony\Component\Console\Input\InputArgument;