{"id":37232770,"url":"https://github.com/guide42/choclo","last_synced_at":"2026-01-15T03:50:46.810Z","repository":{"id":62513283,"uuid":"40632450","full_name":"guide42/choclo","owner":"guide42","description":"Configuration Framework","archived":true,"fork":false,"pushed_at":"2019-07-02T13:19:11.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T13:56:56.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guide42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T01:22:22.000Z","updated_at":"2023-01-28T08:06:00.000Z","dependencies_parsed_at":"2022-11-02T13:30:33.952Z","dependency_job_id":null,"html_url":"https://github.com/guide42/choclo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guide42/choclo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guide42%2Fchoclo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guide42%2Fchoclo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guide42%2Fchoclo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guide42%2Fchoclo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guide42","download_url":"https://codeload.github.com/guide42/choclo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guide42%2Fchoclo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":[],"created_at":"2026-01-15T03:50:46.021Z","updated_at":"2026-01-15T03:50:46.795Z","avatar_url":"https://github.com/guide42.png","language":"PHP","readme":"Choclo\n======\n\n![by  Artful Magpie](https://farm9.staticflickr.com/8056/8135145941_7a9ca3940e_m_d.jpg)\n(by  [Artful Magpie](https://www.flickr.com/photos/kmtucker/8135145941))\n\nChoclo is a two-step configuration framework.\n\nThis is a PoC. DO NOT USE IT IN PRODUCTION.\n\nUsage\n-----\n\n```php\nuse Guide42\\Choclo\\Configurator;\n\nclass MyApp extends Configurator\n{\n    const PHASE_ROUTES = 60;\n\n    public function addRoute($name, $pattern, \\Closure $controller)\n    {\n        $connect = function() use ($name, $pattern, $controller) {\n            $route = new Route($pattern, array(\n                '_controller' =\u003e $controller,\n            ));\n\n            $routes = $this-\u003egetRegistry()-\u003eget('Symfony\\Component\\Routing\\RouteCollection');\n            $routes-\u003eadd($name, $route);\n        };\n        $this-\u003eregister('route-' . $name, $connect, self::PHASE_ROUTES);\n    }\n}\n```\n\nBadges\n------\n\n[![Latest Stable Version](https://poser.pugx.org/guide42/choclo/v/stable.svg)](https://packagist.org/packages/guide42/choclo)\n[![Build Status](https://travis-ci.org/guide42/choclo.svg?branch=master)](https://travis-ci.org/guide42/choclo)\n[![Coverage Status](https://img.shields.io/coveralls/guide42/choclo.svg)](https://coveralls.io/r/guide42/choclo)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguide42%2Fchoclo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguide42%2Fchoclo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguide42%2Fchoclo/lists"}