refactor: replace hardcoded credentials with env vars

- Use getenv() with RuntimeException for missing required vars
- Add .env.example template
- Add .env to .gitignore
- Fix missing return statement in config array
This commit is contained in:
Guillermo Pages
2026-01-14 14:15:28 +01:00
parent 9a83c3b52e
commit 777b531ce7
3 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
vendor
*.lock
.env