laravel-credentials icon indicating copy to clipboard operation
laravel-credentials copied to clipboard

Package Discovery fails without .env present

Open JamiesonRoberts opened this issue 7 years ago • 0 comments

I'm trying to figure out what would be causing this, but it appears that when there isn't a .env file present the auto discovery fails out discovering the cypher type.

The use case for this is as follows: we use deployment tools to ship code. Every build does a fresh install and we don't check in .env files. It should still install and discover even if its not going to be used.

Error is as follows:

php artisan package:discover

In Encrypter.php line 43:

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

JamiesonRoberts avatar Dec 11 '18 15:12 JamiesonRoberts