{"id":33994377,"url":"https://github.com/struggle-for-php/sfp-ishiki-takai-https","last_synced_at":"2026-05-29T03:31:50.083Z","repository":{"id":26894319,"uuid":"30355641","full_name":"struggle-for-php/sfp-ishiki-takai-https","owner":"struggle-for-php","description":" re-register `https` stream wrapper for  padraic/humbug_get_contents","archived":false,"fork":false,"pushed_at":"2015-02-06T13:21:23.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T19:53:55.341Z","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":"electron-userland/electron-json-storage","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/struggle-for-php.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-05T13:02:10.000Z","updated_at":"2015-02-06T13:20:13.000Z","dependencies_parsed_at":"2022-08-31T11:41:44.080Z","dependency_job_id":null,"html_url":"https://github.com/struggle-for-php/sfp-ishiki-takai-https","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/struggle-for-php/sfp-ishiki-takai-https","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/struggle-for-php%2Fsfp-ishiki-takai-https","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/struggle-for-php%2Fsfp-ishiki-takai-https/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/struggle-for-php%2Fsfp-ishiki-takai-https/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/struggle-for-php%2Fsfp-ishiki-takai-https/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/struggle-for-php","download_url":"https://codeload.github.com/struggle-for-php/sfp-ishiki-takai-https/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/struggle-for-php%2Fsfp-ishiki-takai-https/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33635961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":"2025-12-13T07:52:41.115Z","updated_at":"2026-05-29T03:31:50.070Z","avatar_url":"https://github.com/struggle-for-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"== ISHIKI TAKAI HTTPS (意識高いHTTPS)\n\noverride global *file_get_contents()* behavior with padraic/humbug_get_contents.\n\n(correctly, re-register `https` stream wrapper)\n\n----\n　　　 　 　 　 　 　 　 ／￣二ﾆ=‐-　..__\n　　　　　 　 　 　 　 /　　ﾉー--＝=ﾆ二う\n.　　　 　 　 　 　 　 ｉ　／  __ ,ヽ|　　　　　 　 　 　 \n.　 　 　 　 　 　 　 ｜ !　　 rqq   |ｌ　 　 　 　 　 　 　 \n　　　　　　 　 　 　 {ヽ|　   ゝ　  |)　　　　　　　　　　\n.　　　　　　　　　 　 ｀１　　フ　 ｜　　　このアプリつらいわー。file_get_contents()で、　　 　 　 　\n.　　　　　　　　　　 　 ヽ 　 　 　 ∧_　　　httpsアクセスしててまじつらいわー\n　　　　　　　　　　 　∠二ヽ -‐' ／　\u003e､　　　　　　　 \n.　　　　　　　　 　 ／二ヽ}う　／　／　 ｀　 .　　　　　\n　　　　　　　　 　 |　っ_}ﾉVY^ヽ／　 　 　 　 ｀ヽ　 　 \n　　 　 　 　 　 ／j　__ノ　　l　　　　 　 　 　 ハ 　 \n　　　　　　　　}　,′ |　　 l　　　　ｉ |　　  __j　　\n　　　　 　 　 /　′　 |　　 l　 　 　 ヽ|　 -‐=＝〉　 \n. 　 　 　 　 /　, 　 | 　 ｜　 　 　　 ｜　　　｜\n　 　 　 　 /＿′　　  |　　 |　　　　　 l_＿＿＿_|\n　 　 　 　 　 |!　　 | 　 ｜＞―--　―┴―-　       |\n　　 　 　 　 ｜　　　｜ 　 |//ｉ i r　　　　    ｜\n.　　　　 　 　 ､_＿__,ﾉ　　 |{_ﾋ｀ﾆ7ー'ー-　　 _＿,ﾉ\n　　 　 　 　 　 　 |　 　 　 | |:::::::::|　　　|\n----\n\n=== Usage\n\n[source,php]\n----\n\u003c?php\n// on bootstrap\nrequire_once __DIR__.'/vendor/autoload.php';\n\nSfpIshikiTakaiHttps\\StreamWrapper::register();\n\n// ok, go.\nvar_dump(file_get_contents('https://github.com/',false, $context)); \n\n----\n\n=== Installation\n$ composer require struggle-for-php/sfp-ishiki-takai-https ~1\n\n=== See Also\n  - https://github.com/padraic/file_get_contents\n  - http://blog.astrumfutura.com/2015/02/a-secure-wrapper-for-downloading-https-resources-using-file_get_contents/\n\n=== ATTENTION\nTHIS PROJECT IS DEMONSTRATION FOR PHP STREAM WRAPPER USAGE, AND NOT INTENDED FOR PRODUCTION USE. PLEASE USE AT YOUR OWN RISK.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstruggle-for-php%2Fsfp-ishiki-takai-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstruggle-for-php%2Fsfp-ishiki-takai-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstruggle-for-php%2Fsfp-ishiki-takai-https/lists"}