Skip to content

Updated

Compare
Choose a tag to compare
@jamesgober jamesgober released this 04 Dec 00:18
· 68 commits to master since this release

Release Notes for 1.0.0-RC.2

The second release candidate of JG\Config introduces enhancements, bug fixes, and new features to refine this robust PHP library for configuration management. Designed with flexibility and extensibility in mind, JG\Config simplifies loading, parsing, and managing configuration data from a wide variety of formats.


What's New in 1.0.0-RC.2?

  • Improved load Method:
    • Enhanced reliability for handling complex configurations.
  • Updated delete Method:
    • Now supports deleting configurations by group.
  • YAML Enhancements:
    • Added support for both .yaml and .yml file extensions.

Key Features

  • Supported Formats:
    • CONF, INI, JSON, XML, YAML, and PHP arrays.
  • Custom Parsers:
    • Extend functionality by adding support for additional formats.
  • Comprehensive API:
    • Load configurations from files or directories.
    • Retrieve, add, update, and delete configuration values.
    • Support for both grouped and flattened keys.
  • Error Handling:
    • Custom exceptions (ConfigException, ConfigParseException, InvalidParserException) for streamlined debugging and runtime control.
  • Reliability:
    • Fully tested with PHPUnit to ensure consistent behavior.

Installation

Install via Composer:

composer require jamesgober/config

Documentation

Explore the [Full Documentation](https://github.com/jamesgober/Config) for:

  • Detailed usage examples.
  • Advanced configuration tips.
  • Contribution guidelines.

Changelog

For a complete list of changes, refer to the [CHANGELOG](https://github.com/jamesgober/Config/blob/main/CHANGELOG.md).


Feedback and Contributions

Your feedback is invaluable! Report issues or request features via the [GitHub Issues](https://github.com/jamesgober/Config/issues) page. Contributions are welcome—check the guidelines in the repository.