{"id":21013471,"url":"https://github.com/heavenshell/php-silex-kyototycoon","last_synced_at":"2026-04-13T07:07:03.756Z","repository":{"id":1521491,"uuid":"1780557","full_name":"heavenshell/php-silex-kyototycoon","owner":"heavenshell","description":"Silex Net_KyotoTycoon extension","archived":false,"fork":false,"pushed_at":"2011-12-31T08:04:25.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T02:12:10.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heavenshell.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-21T13:53:19.000Z","updated_at":"2018-12-26T11:17:57.000Z","dependencies_parsed_at":"2022-08-16T13:35:16.284Z","dependency_job_id":null,"html_url":"https://github.com/heavenshell/php-silex-kyototycoon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fphp-silex-kyototycoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fphp-silex-kyototycoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fphp-silex-kyototycoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fphp-silex-kyototycoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heavenshell","download_url":"https://codeload.github.com/heavenshell/php-silex-kyototycoon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243437970,"owners_count":20290865,"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":[],"created_at":"2024-11-19T09:42:34.833Z","updated_at":"2025-12-30T10:28:30.041Z","avatar_url":"https://github.com/heavenshell.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Silex \\Net\\KyotoTycoon extension.\n\nThis extension is for the Silex microframework enables to use Kyoto Tycoon.\n\n    \u003c?php\n    require_once 'silex.phar';\n    require_once dirname(__DIR__) . '/src/KyotoTycoonExtension.php';\n\n    $zendpath = getenv('KT_PATH');\n\n    $app = new Silex\\Application();\n    $app-\u003eregister(new \\KyotoTycoonExtension(), array(\n        'kt.class_path' =\u003e $ktpath,\n        'kt.options'    =\u003e array('port' =\u003e 19780)\n    ));\n\n    $app-\u003eget('/set', function () use ($app) {\n        $client = $app['kt.client'];\n        $client-\u003eset('test', 'ok');\n\n        return json_encode(true);\n    });\n\n    $app-\u003eget('/get', function () use ($app) {\n        $client = $app['kt.client'];\n        $result = $client-\u003eget('test');\n\n        return json_encode($result);\n    });\n\n    if (getenv('SILEX_TEST')) {\n        return $app;\n    }\n    $app-\u003erun();\n\n\nSet \\Net\\KyotoTycoon library to your include_path\nRun Kyoto Tycoon with port 19780 before you run examples or tests\n  $ ktserver -port 19780\n\n- Running examples\n  Add SetEnv KT_PATH /Path/To/include_path to .htaccess\n- Running tests\n  export KT_PATH=/Path/To/include_path\n\nSee more detail \n- http://fallabs.com/kyototycoon/\n- https://github.com/heavenshell/php-net-kyototycoon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fphp-silex-kyototycoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheavenshell%2Fphp-silex-kyototycoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fphp-silex-kyototycoon/lists"}