-
1.0.3 Stable
released this
2023-07-13 21:07:06 +00:00 | 191 commits to master since this releaseFixed
- 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
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
net.nosial.configlib.ncc
11 downloads ·
2023-07-13 21:07:06 +00:00 · 0 B
- Fixed
-
1.0.2 Stable
released this
2023-07-12 02:35:00 +00:00 | 192 commits to master since this releaseFixed
- 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
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
net.nosial.configlib.ncc
7 downloads ·
2023-07-12 02:35:00 +00:00 · 0 B
- Fixed issue #1 in Configuration->__construct() where the name of
-
1.0.1 Stable
released this
2023-07-11 18:38:45 +00:00 | 195 commits to master since this releaseChanged
- 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,
ifcom.example.applicationwants to loadExampleConfigurationit will first check ifCONFIGLIB_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.configlibas 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.yamlif you want ConfigLib to load it as a yml file, otherwise by default it assumes it is a json file.
Downloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
4 downloads
-
1.0.0 Stable
released this
2023-02-23 21:31:45 +00:00 | 209 commits to master since this releaseAdded
- First Release
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
2 downloads