Welcome Guest, Not a member yet? Register   Sign In
Can I use the APPPATH/Config to store credentials file?
#1

Hi,

I'm developing a new system, and the .env is not enough to store my configs, can I create a .config.json inside the app/Config folder? any thoughts? Is that a safe place to store it?

PS: It is not committed to the repo.

Thank you so much for your attention and participation.
Reply
#2

No problem. this is a development solution
Reply
#3

You might be able to use this addon for what you need.

CodeIgniter 4 Settings
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

See https://12factor.net/config
Reply




Theme © iAndrew 2016 - Forum software by © MyBB