Archive for 'yaml'

PHP Application Configuration with YAML

Posted by:

I have always disliked creating configuration data by reading from various formats into global arrays, so I needed to build or borrow a configuration class for my own projects that I could standardize on.

I wanted the following functionality.

  • Use the YAML format
  • Minimize load time by caching configuration data
  • Use object notation instead of array access notation.

I discovered various configuration classes but none of them quite had everything I was looking for so I put together the best code and ideas (for ...

Continue Reading ?
5