{"id":30041674,"url":"https://github.com/caugner/phpdotenvcache","last_synced_at":"2025-08-07T02:51:23.179Z","repository":{"id":56953338,"uuid":"86688615","full_name":"caugner/phpdotenvcache","owner":"caugner","description":"A simple cached loader for Phpdotenv","archived":false,"fork":false,"pushed_at":"2017-03-31T18:01:20.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-26T23:40:00.103Z","etag":null,"topics":["cache","php","phpdotenv"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/caugner/phpdotenvcache","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/caugner.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-03-30T10:10:21.000Z","updated_at":"2017-03-30T10:27:52.000Z","dependencies_parsed_at":"2022-08-21T08:20:35.106Z","dependency_job_id":null,"html_url":"https://github.com/caugner/phpdotenvcache","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/caugner/phpdotenvcache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caugner%2Fphpdotenvcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caugner%2Fphpdotenvcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caugner%2Fphpdotenvcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caugner%2Fphpdotenvcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caugner","download_url":"https://codeload.github.com/caugner/phpdotenvcache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caugner%2Fphpdotenvcache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269189974,"owners_count":24375573,"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-08-07T02:00:09.698Z","response_time":73,"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":["cache","php","phpdotenv"],"created_at":"2025-08-07T02:51:18.040Z","updated_at":"2025-08-07T02:51:23.169Z","avatar_url":"https://github.com/caugner.png","language":"PHP","readme":"# Cache for PHP dotenv\nA simple cached loader for [PHP dotenv](https://github.com/vlucas/phpdotenv).\n\n[![Build Status](https://travis-ci.org/caugner/phpdotenvcache.svg?branch=master)](https://travis-ci.org/caugner/phpdotenvcache)\n[![Code Climate](https://codeclimate.com/github/caugner/phpdotenvcache/badges/gpa.svg)](https://codeclimate.com/github/caugner/phpdotenvcache)\n[![Latest Stable Version](https://poser.pugx.org/claas/phpdotenvcache/v/stable)](https://packagist.org/packages/claas/phpdotenvcache)\n[![License](https://poser.pugx.org/claas/phpdotenvcache/license)](https://packagist.org/packages/claas/phpdotenvcache)\n\n## Usage\n\nFirst, install [Composer](http://getcomposer.org/).\n\n```bash\ncurl -sS https://getcomposer.org/installer | php\n```\n\nNext, add phpdotenvcache:\n\n```\nphp composer.phar require claas/phpdotenvcache\n```\n\nThen, include Composer's autoloader:\n\n```php\nrequire 'vendor/autoload.php';\n```\n\nFinally, you can use the PHP dotenv cache:\n\n```php\n$dotenv = new Dotenv\\CachedDotenv();\n$dotenv-\u003eload(__DIR__);\n// Alternatively, only load to $_ENV or $_SERVER globals:\n// $dotenv-\u003eloadToEnv(__DIR__);\n// $dotenv-\u003eloadToServer(__DIR__); \n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaugner%2Fphpdotenvcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaugner%2Fphpdotenvcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaugner%2Fphpdotenvcache/lists"}