php-crud-api
php-crud-api copied to clipboard
Allow config parameter to load from external file/env
Hi,
Sorry if I am repeating this request. (I tried searching and can't find it). The documented way to make configuration is to modify at the end of the single api.php file for any of config parameters (DB connection etc). It would be great if these can be loaded from external file or ENV variables without have to modify the original api.php at all. Anyone is interested in this feature?
Did you see #734?
Not exactly what I was looking, but I think using 'api.include.php' would work for me for now. :) Thanks @mevdschee !