DEV Community

Discussion on: How generate a Laravel APP_KEY with OpenSSL

Collapse
zubairmohsin33 profile image
Zubair Mohsin

Hi, thanks for sharing this tip. Just curious about the reason behind it? Or is it just another way to do it?

Collapse
gregorip02 profile image
Gregori Piñeres Author

On one occasion I had to do it this way to generate a secret file in a Laravel application in Kubernetes. Obviously this is another way to do it without having the PHP interpreter installed locally. However you do it, the result is the same.