{"id":15355074,"url":"https://github.com/adhocore/php-env-bench","last_synced_at":"2025-10-08T23:25:15.645Z","repository":{"id":66360167,"uuid":"141012600","full_name":"adhocore/php-env-bench","owner":"adhocore","description":"Benchmarking env loaders/parsers for PHP.","archived":false,"fork":false,"pushed_at":"2023-05-21T14:28:26.000Z","size":132,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-28T07:43:19.603Z","etag":null,"topics":["benchmark","benchmarking-env-loaders","parse","parsers","php","php7","retrieval"],"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/adhocore.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-15T08:58:56.000Z","updated_at":"2023-06-19T06:09:48.000Z","dependencies_parsed_at":"2025-04-15T06:17:49.384Z","dependency_job_id":"65d738fa-4fbf-46fd-939e-8000633e9d54","html_url":"https://github.com/adhocore/php-env-bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adhocore/php-env-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-env-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-env-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-env-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-env-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhocore","download_url":"https://codeload.github.com/adhocore/php-env-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-env-bench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000733,"owners_count":26082862,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["benchmark","benchmarking-env-loaders","parse","parsers","php","php7","retrieval"],"created_at":"2024-10-01T12:22:23.801Z","updated_at":"2025-10-08T23:25:15.620Z","avatar_url":"https://github.com/adhocore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## adhocore/env-bench\n\nBenchmarking env loaders/parsers for PHP.\n\nCandidates: `adhocore/env`, `vlucas/dotenv`, `symfony/dotenv`.\n\n## Usage\n\n```bash\ngit clone git@github.com/adhocore/env-bench.git\n\ncd env-bench\n\ncomposer install -o\n\nvendor/bin/phpbench run src --report aggregate\n```\n\n### Preview\n\n| Property  | Value           |\n| ----------|:---------------:|\n| Machine   | XPS9360         |\n| RAM       | 16G             |\n| Processor | i7 7550U        |\n| SSD       | 512G            |\n| OS        | Ubuntu18.04 WSL |\n| PHP       | 7.2.7           |\n| PHP Ext   | Opcache+Xdebug  |\n\n[![Bench Preview](./bench.png \"Bench Preview\")](./bench.png)\n\n\n### Travis Preview\n\n[![Travis Bench Preview](https://i.imgur.com/1ZAq5A1.gif \"Travis Bench Preview\")](https://travis-ci.com/adhocore/php-env-bench/builds/79019720)\n\n\n#### Caveat\n\nRetrieving has not been benchmarked because none of the other except `adhocore/env` provide a factory way of retrieval. And this **definitely** is not benchmark for native `getenv()`!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fphp-env-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhocore%2Fphp-env-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fphp-env-bench/lists"}