{"id":15789687,"url":"https://github.com/ytake/hackdotenv","last_synced_at":"2026-02-01T09:32:46.543Z","repository":{"id":57088265,"uuid":"147793106","full_name":"ytake/hackdotenv","owner":"ytake","description":"Loads environment vars from .env to getenv().","archived":false,"fork":false,"pushed_at":"2020-07-03T00:20:59.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-30T13:24:27.122Z","etag":null,"topics":["dotenv","hacklang","hhvm"],"latest_commit_sha":null,"homepage":"","language":"Hack","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/ytake.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":"2018-09-07T08:17:09.000Z","updated_at":"2020-07-03T00:18:07.000Z","dependencies_parsed_at":"2022-08-20T15:31:12.255Z","dependency_job_id":null,"html_url":"https://github.com/ytake/hackdotenv","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ytake/hackdotenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fhackdotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fhackdotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fhackdotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fhackdotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytake","download_url":"https://codeload.github.com/ytake/hackdotenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fhackdotenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["dotenv","hacklang","hhvm"],"created_at":"2024-10-04T22:02:53.249Z","updated_at":"2026-02-01T09:32:46.517Z","avatar_url":"https://github.com/ytake.png","language":"Hack","readme":"# Hack Dotenv\n\nLoads environment variables from .env to getenv(). \n\n[![Build Status](https://travis-ci.org/ytake/hackdotenv.svg?branch=master)](https://travis-ci.org/ytake/hackdotenv)\n\n[vlucas/phpdotenv](https://github.com/vlucas/phpdotenv) converted for Hack\n\n**require HHVM \u003e=4.20**\n\n## Install\n\n```\n$ hhvm $(which composer) require ytake/hackdotenv\n```\n\n## Usage\n\nYour application configuration to a .env file in the root of your project.\n\n```\nFOO=bar\nBAR=baz\n```\n\nYou can then load .env in your application.\n\n```hack\nuse type Ytake\\Dotenv\\Loader;\n\n$dotenv = new Dotenv($this-\u003edir);\nawait $dotenv-\u003eloadAsync();\n```\n\n```hack\nuse namespace Ytake\\Dotenv;\n\nDot\\env('FOO');\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytake%2Fhackdotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytake%2Fhackdotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytake%2Fhackdotenv/lists"}