To get an environment value in a PHP controller, you can use the getenv function.
To use multiple external configuration files with Spring Boot, you can use the spring.config.name property to specify the names of the configuration files.