{"id":20540558,"url":"https://github.com/utopia-php/config","last_synced_at":"2025-04-14T08:38:26.237Z","repository":{"id":46656943,"uuid":"249938182","full_name":"utopia-php/config","owner":"utopia-php","description":"Lite \u0026 fast micro PHP configuration management library that is **easy to use**.","archived":false,"fork":false,"pushed_at":"2024-04-08T03:11:50.000Z","size":34,"stargazers_count":14,"open_issues_count":1,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T22:11:11.276Z","etag":null,"topics":["hacktoberfest","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/utopia-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-25T09:36:06.000Z","updated_at":"2024-09-02T13:06:00.000Z","dependencies_parsed_at":"2024-06-18T18:58:22.928Z","dependency_job_id":"6831ea5a-920f-4dee-8b4c-2b0d406f2fa8","html_url":"https://github.com/utopia-php/config","commit_stats":{"total_commits":34,"total_committers":9,"mean_commits":"3.7777777777777777","dds":0.5882352941176471,"last_synced_commit":"259932148b30dd7443cf8c5dfc2216f703cddf15"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utopia-php","download_url":"https://codeload.github.com/utopia-php/config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248847429,"owners_count":21171181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","php"],"created_at":"2024-11-16T01:16:12.767Z","updated_at":"2025-04-14T08:38:26.216Z","avatar_url":"https://github.com/utopia-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utopia Config\n\n[![Build Status](https://travis-ci.org/utopia-php/ab.svg?branch=master)](https://travis-ci.com/utopia-php/config)\n![Total Downloads](https://img.shields.io/packagist/dt/utopia-php/config.svg)\n[![Discord](https://img.shields.io/discord/564160730845151244?label=discord)](https://appwrite.io/discord)\n\nUtopia Config library is simple and lite library for managing application configuration. This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).\n\nAlthough this library is part of the [Utopia Framework](https://github.com/utopia-php/framework) project it is dependency free and can be used as standalone with any other PHP project or framework.\n\n## Getting Started\n\nInstall using composer:\n```bash\ncomposer require utopia-php/config\n```\n\n```php\n\u003c?php\n\nrequire_once '../vendor/autoload.php';\n\nuse Utopia\\Config\\Config;\n\n// Basic params\nConfig::setParam('key', 'value');\nConfig::getParam('key'); // Value\nConfig::getParam('keyx', 'default'); // default\n\n// Nested params\nConfig::setParam('key3', ['key4' =\u003e 'value4']);\nConfig::getParam('key3'); // ['key4' =\u003e 'value4']\nConfig::getParam('key3.key4'); // value4\n\n// Load config file (plain array)\nConfig::load('key5', __DIR__.'/demo.php');\nConfig::getParam('key5.key1', 'default'); // value1\n\n```\n\n## System Requirements\n\nUtopia Framework requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.\n\n## Copyright and license\n\nThe MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futopia-php%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fconfig/lists"}