{"id":16674190,"url":"https://github.com/lezhnev74/dummy-config-loader","last_synced_at":"2026-05-22T07:35:31.556Z","repository":{"id":62516953,"uuid":"88183719","full_name":"lezhnev74/dummy-config-loader","owner":"lezhnev74","description":"Access configuration values from PHP arrays with dot syntax: `database.default.driver`","archived":false,"fork":false,"pushed_at":"2017-04-14T05:45:32.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-30T14:35:43.037Z","etag":null,"topics":["configuration","php7"],"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/lezhnev74.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-13T16:13:40.000Z","updated_at":"2022-02-12T14:09:24.000Z","dependencies_parsed_at":"2022-11-02T13:31:04.315Z","dependency_job_id":null,"html_url":"https://github.com/lezhnev74/dummy-config-loader","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lezhnev74/dummy-config-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fdummy-config-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fdummy-config-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fdummy-config-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fdummy-config-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lezhnev74","download_url":"https://codeload.github.com/lezhnev74/dummy-config-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lezhnev74%2Fdummy-config-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33333550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["configuration","php7"],"created_at":"2024-10-12T12:29:41.215Z","updated_at":"2026-05-22T07:35:31.537Z","avatar_url":"https://github.com/lezhnev74.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/lezhnev74/dummy-config-loader/v/stable)](https://packagist.org/packages/lezhnev74/dummy-config-loader)\n[![Build Status](https://travis-ci.org/lezhnev74/dummy-config-loader.svg?branch=master)](https://travis-ci.org/lezhnev74/dummy-config-loader)\n[![License](https://poser.pugx.org/lezhnev74/dummy-config-loader/license)](https://packagist.org/packages/lezhnev74/dummy-config-loader)\n[![Total Downloads](https://poser.pugx.org/lezhnev74/dummy-config-loader/downloads)](https://packagist.org/packages/lezhnev74/dummy-config-loader)\n\n# Usage\n\n```php\n$config = new DummyConfigLoader\\Config(__DIR__); // this will look for config files in this folder\n$value = $config-\u003eget('database.default.driver', 'mongodb');\n```\n\nYou will get `mariadb` as `$value` if you will place file `database.php` in the given folder with contents:\n\n```php\nreturn [\n    \"default\" =\u003e [\n        \"driver\" =\u003e \"mariadb\"\n    ]\n];\n```\n\nOtherwise you will get `mongodb`.\n\nFirst section of any key addresses the file within the directory. One level of recursion allowed. If no such file found in the folder - exception will be thrown.\n\n## Installation\n\n```\ncomposer require lezhnev74/dummy-config-loader\n```\n\n## Support \n\nIf you need help - feel comfortable to ping me at lezhnev.work@gmail.com\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flezhnev74%2Fdummy-config-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flezhnev74%2Fdummy-config-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flezhnev74%2Fdummy-config-loader/lists"}