Shawn Hooper (he/him) 🇨🇦shawnhooper@fosstodon.org
Jun 8, 2026, 12:08 PM@alpha1beta Environment variables in staging/prod and .env files on local.
@alpha1beta Environment variables in staging/prod and .env files on local.
Thanks!
It's funny how these days that's the biggest answer and everyone assumes its for a large app with like Docker etc while I was thinking more along the lines of WP - small single instance.
@alpha1beta Fair.
Environment variables would still be my answer. Keep your keys out of the filesystem if at all possible.
@shawnhooper Solid advice.
It's been so long since I started something from scratch, I gotta say I feel a bit lost. But PHP has gotten so much amazing improvements, I'm looking forward to using.