• 1.1.6 936485dde7

    1.1.6 Stable

    netkas released this 2025-01-08 02:15:17 +00:00 | 1 commits to master since this release

    This update introduces minor improvements

    Changed

    • Changed properties to become typed properties

    Added

    • Added a new constructor parameter called path which is an optional parameter that allows you to specify the path to
      the configuration files directory. If not specified the library will proceed with resolving
      the path to the configuration files directory using the default method. This will override
      the CONFIGLIB_PATH environment variable if it is set.
    Downloads
  • 1.1.5 09b2e88e1c

    1.1.5 Stable

    netkas released this 2024-12-27 20:35:12 +00:00 | 3 commits to master since this release

    This update introduces minor improvements

    Added

    • Add support for CONFIGLIB_PATH environment variable to specify the path to the configuration files directory
    Downloads
  • 1.1.3 02d6c75bf3

    1.1.3 Stable

    netkas released this 2024-10-13 19:02:49 +00:00 | 105 commits to master since this release

    This update introduces a new build system

    Downloads
  • 1.1.0 02d6c75bf3

    1.1.0 Stable

    netkas released this 2024-09-24 19:17:43 +00:00 | 105 commits to master since this release

    This update introduces changes for PHP 8.3 & NCC 2.1.0+ compatibility

    Added

    • Added PhpUnit tests for the library
    • Added new option --path to the CLI interface to display the path to the configuration file

    Changed

    • Updated the codebase to be compatible with PHP 8.3
    • Updated the codebase to be compatible with NCC 2.1.0+
    • Updated Makefile

    Fixed

    • Fixed regex patterns to be more robust
    Downloads
  • 1.0.4 906e168ade

    1.0.4 Stable

    netkas released this 2023-08-12 12:59:02 +00:00 | 143 commits to master since this release

    This update introduces minor improvements

    Added

    • Added the ability to override configuration properties with environment variables using the format
      CONFIGLIB_<CONFIG_NAME>_<PROPERTY_NAME>

    Fixed

    • Corrected a few lines of code in regards to missing variable definitions
    Downloads
  • 1.0.3 5afae885db

    1.0.3 Stable

    netkas released this 2023-07-13 21:07:06 +00:00 | 151 commits to master since this release

    Fixed

    • Fixed Fatal error: Uncaught TypeError: array_replace_recursive(): Argument #1 ($array) must be of type array, null given in /var/ncc/packages/net.nosial.configlib=1.0.2/src/ConfigLib/Configuration.php:331
    Downloads
  • 1.0.2 4cffe41bf0

    1.0.2 Stable

    netkas released this 2023-07-12 02:35:00 +00:00 | 152 commits to master since this release

    Fixed

    • Fixed issue #1 in Configuration->__construct() where the name of
      an environment variable was being used instead of its value when determining the configuration file path. This
      incorrect handling resulted in warnings about non-existent files and hindered the proper loading of configuration
      files. With this fix, environment variables should now correctly guide the path to the desired configuration files,
      improving the flexibility and functionality of the configuration library.
    Downloads
  • 1.0.1 f7c64f4ba6

    1.0.1 Stable

    netkas released this 2023-07-11 18:38:45 +00:00 | 155 commits to master since this release

    Changed

    • Refactored codebase to be more maintainable, readable & more optimized

    Added

    • ConfigurationLib will now attempt to load configuration files from Environment Variables if they are set, for example,
      if com.example.application wants to load ExampleConfiguration it will first check if CONFIGLIB_EXAMPLECONFIGURATION
      is set, and if so, load that file instead of going through the default process of loading the default configuration file.
      If the file is not found, it will resort to its default behavior. You can either load an original json configuration
      file which is usually located at \var\ncc\data\net.nosial.configlib as one of the .conf files, or you can load a yml
      which is the same one you usually use to import or edit configurations. But the file extension must be either .yml
      or .yaml if you want ConfigLib to load it as a yml file, otherwise by default it assumes it is a json file.
    Downloads
  • 1.0.0 4d58db1ac0

    1.0.0 Stable

    netkas released this 2023-02-23 21:31:45 +00:00 | 169 commits to master since this release

    Added

    • First Release
    Downloads