{"id":41861425,"url":"https://github.com/vaneavasco/toggle","last_synced_at":"2026-01-25T11:17:00.836Z","repository":{"id":57076821,"uuid":"105574736","full_name":"vaneavasco/toggle","owner":"vaneavasco","description":"Feature toggles","archived":false,"fork":false,"pushed_at":"2017-10-10T19:37:10.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-16T01:50:40.427Z","etag":null,"topics":["feature-flags","feature-toggle"],"latest_commit_sha":null,"homepage":null,"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/vaneavasco.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-10-02T19:17:10.000Z","updated_at":"2017-10-11T15:32:17.000Z","dependencies_parsed_at":"2022-08-24T14:55:55.874Z","dependency_job_id":null,"html_url":"https://github.com/vaneavasco/toggle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaneavasco/toggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneavasco%2Ftoggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneavasco%2Ftoggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneavasco%2Ftoggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneavasco%2Ftoggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneavasco","download_url":"https://codeload.github.com/vaneavasco/toggle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneavasco%2Ftoggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28752667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"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":["feature-flags","feature-toggle"],"created_at":"2026-01-25T11:17:00.182Z","updated_at":"2026-01-25T11:17:00.832Z","avatar_url":"https://github.com/vaneavasco.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple feature toggles\n[![Build status][ico-travis]][link-travis]\n\nExample\n```php\n\n$featureConfig   = require_once 'config.php';\n$featureToggle   = FeatureToggle::build($featureConfig);\n$featuresToCheck = ['myFeature', 'myOtherFeature'];\n\nforeach ($featuresToCheck as $feature) {\n    if ($featureToggle-\u003eisEnabled($feature)) {\n        echo \"$feature is enabled \\n\";\n    } else {\n        echo \"$feature is disabled \\n\";\n    }\n}\n```\n[ico-travis]: https://travis-ci.org/vaneavasco/toggle.svg?branch=master\n[link-travis]: https://travis-ci.org/vaneavasco/toggle","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneavasco%2Ftoggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneavasco%2Ftoggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneavasco%2Ftoggle/lists"}