Directus
#### :rotating_light: MIGRATED FROM REQUESTS.GETDIRECTUS.COM :rotating_light:

# Abstracted Config Files (JSON)

### :+1: = 1


-----
### @benhaynes – (2 years ago)

@WellingGuzman

What do you think about abstracting the configuration files. Currently, they are in the API directory as PHP files – but couldn't we make them JSON files in the root so they are not tied to the server-side language? Does that seem like a good idea or overkill?

Also, would it make sense to have a decoupled directory structure like this:

/api-php/core/...
/config.json
/configuration.json

Instead of this (currently):

/api/core/...
/api/config.php
/api/configuration.php