#pkdiscgolf
1 messages · Page 1 of 1 (latest)
Generally speaking, it's best to set them as environment variables. If you store them in the database, they should be hashed
I am not quite sure how to set them as .env variables. I have used an .env file in some reactjs projects i have done. But how does that work on php?
I'd recommend reviewing the PHP docs on $_ENV: https://www.php.net/manual/en/reserved.variables.environment.php
The docs seems to just say that an env is an array. How do i securely add the keys to this array