laravel-credentials
laravel-credentials copied to clipboard
Package Discovery fails without .env present
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.