{"id":13518486,"url":"https://github.com/zepgram/magento-dotenv","last_synced_at":"2025-05-07T00:09:26.785Z","repository":{"id":57090015,"uuid":"243586633","full_name":"zepgram/magento-dotenv","owner":"zepgram","description":"Magento 2 Environment Variable Component - Implementing Symfony Dotenv","archived":false,"fork":false,"pushed_at":"2024-02-12T12:24:23.000Z","size":14,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T00:09:17.936Z","etag":null,"topics":["environment-variables","magento-dotenv","magento2","symfony-dotenv"],"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/zepgram.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}},"created_at":"2020-02-27T18:22:27.000Z","updated_at":"2025-02-14T05:20:18.000Z","dependencies_parsed_at":"2023-12-31T00:13:30.571Z","dependency_job_id":"d2a86eb8-c776-4ccc-81bc-851b9994eb9e","html_url":"https://github.com/zepgram/magento-dotenv","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.33333333333333337","last_synced_commit":"93c7b7cd6f7692cf7d0f3ecac4ad2a47bd512fba"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zepgram%2Fmagento-dotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zepgram%2Fmagento-dotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zepgram%2Fmagento-dotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zepgram%2Fmagento-dotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zepgram","download_url":"https://codeload.github.com/zepgram/magento-dotenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788527,"owners_count":21804284,"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":["environment-variables","magento-dotenv","magento2","symfony-dotenv"],"created_at":"2024-08-01T05:01:45.378Z","updated_at":"2025-05-07T00:09:26.755Z","avatar_url":"https://github.com/zepgram.png","language":"PHP","funding_links":[],"categories":["PHP","Open Source Extensions"],"sub_categories":["Development Utilities"],"readme":"# Magento Dotenv\n\nSimple autoloader to integrate Symfony Dotenv component to Magento2.\nThe implementation can be found under path ``app/dotenv.php`` and can be configured safely for your needs.\n\n# Compatibility\n\n| Magento Dotenv | v1.* | v2.*        |\n|----------------|------|-------------|\n| Symfony Dotenv | ^5.0 | ^5.4 / ^6.0 |  \n| PHP version    | ^7.0 | ^8.0        |\n\n\n# Installation\n\n```\ncomposer require zepgram/magento-dotenv\n```\n\n# How to\n\nYou can use it similar way as a Symfony project:\n1. If .env exists, it is loaded first. In case there's no .env file but a .env.dist, this one will be loaded instead.\n1. If one of the previously mentioned files contains the APP_ENV variable, the variable is populated and used to load environment-specific files hereafter. If APP_ENV is not defined in either of the previously mentioned files, dev is assumed for APP_ENV and populated by default.\n1. If there's a .env.local representing general local environment variables it's loaded now.\n1. If there's a .env.$env.local file, this one is loaded. Otherwise, it falls back to .env.$env.\n\nYou can freely edit ``app/dotenv.php``: this file will be not updated.\n\nFor more information you can follow the documentation:\nhttps://symfony.com/doc/current/components/dotenv.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzepgram%2Fmagento-dotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzepgram%2Fmagento-dotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzepgram%2Fmagento-dotenv/lists"}