{"id":36199950,"url":"https://github.com/phlib/config","last_synced_at":"2026-02-17T16:30:45.616Z","repository":{"id":27643481,"uuid":"31128274","full_name":"phlib/config","owner":"phlib","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-27T11:12:41.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T09:11:50.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phlib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-02-21T14:39:22.000Z","updated_at":"2025-01-27T11:12:44.000Z","dependencies_parsed_at":"2024-02-03T09:39:25.002Z","dependency_job_id":null,"html_url":"https://github.com/phlib/config","commit_stats":{"total_commits":40,"total_committers":6,"mean_commits":6.666666666666667,"dds":0.65,"last_synced_commit":"06481e29633b56052754d0ad6905d284d13aafd3"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/phlib/config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlib%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlib%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlib%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlib%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phlib","download_url":"https://codeload.github.com/phlib/config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlib%2Fconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29549795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-11T03:03:41.938Z","updated_at":"2026-02-17T16:30:45.611Z","avatar_url":"https://github.com/phlib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phlib/config\n\n[![Code Checks](https://img.shields.io/github/actions/workflow/status/phlib/config/code-checks.yml?logo=github)](https://github.com/phlib/config/actions/workflows/code-checks.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/phlib/config.svg?logo=codecov)](https://codecov.io/gh/phlib/config)\n[![Latest Stable Version](https://img.shields.io/packagist/v/phlib/config.svg?logo=packagist)](https://packagist.org/packages/phlib/config)\n[![Total Downloads](https://img.shields.io/packagist/dt/phlib/config.svg?logo=packagist)](https://packagist.org/packages/phlib/config)\n![Licence](https://img.shields.io/github/license/phlib/config.svg)\n\n```php\n$config = [\n    'db' =\u003e [\n        'host' =\u003e '10.1.0.1',\n        'username' =\u003e 'sam',\n        'password' =\u003e 'SuperSafePass',\n    ],\n];\n\n$host = \\Phlib\\Config\\get($config, 'db.host');\n$port = \\Phlib\\Config\\get($config, 'db.port', 3306);\n```\n\n## License\n\nThis package is free software: you can redistribute it and/or modify\nit under the terms of the GNU Lesser General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlib%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlib%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlib%2Fconfig/lists"}