PHPackages                             struggle-for-php/sfp-ishiki-takai-https - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. struggle-for-php/sfp-ishiki-takai-https

ActiveLibrary[HTTP &amp; Networking](/categories/http)

struggle-for-php/sfp-ishiki-takai-https
=======================================

re-register https stream wrapper

1.1.0(11y ago)013BSD-3-ClausePHPPHP &gt;=5.3

Since Feb 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/struggle-for-php/sfp-ishiki-takai-https)[ Packagist](https://packagist.org/packages/struggle-for-php/sfp-ishiki-takai-https)[ RSS](/packages/struggle-for-php-sfp-ishiki-takai-https/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

ISHIKI TAKAI HTTPS (意識高いHTTPS)
------------------------------

[](#ishiki-takai-https-意識高いhttps)

override global **file\_get\_contents()** behavior with padraic/humbug\_get\_contents.

(correctly, re-register `https` stream wrapper)

```
　　　 　 　 　 　 　 　 ／￣二ﾆ=‐-　..__
　　　　　 　 　 　 　 /　　ﾉー--＝=ﾆ二う
.　　　 　 　 　 　 　 ｉ　／  __ ,ヽ|　　　　　 　 　 　
.　 　 　 　 　 　 　 ｜ !　　 rqq   |ｌ　 　 　 　 　 　 　
　　　　　　 　 　 　 {ヽ|　   ゝ　  |)　　　　　　　　　　
.　　　　　　　　　 　 ｀１　　フ　 ｜　　　このアプリつらいわー。file_get_contents()で、　　 　 　 　
.　　　　　　　　　　 　 ヽ 　 　 　 ∧_　　　httpsアクセスしててまじつらいわー
　　　　　　　　　　 　∠二ヽ -‐' ／　>､　　　　　　　
.　　　　　　　　 　 ／二ヽ}う　／　／　 ｀　 .　　　　　
　　　　　　　　 　 |　っ_}ﾉVY^ヽ／　 　 　 　 ｀ヽ　 　
　　 　 　 　 　 ／j　__ノ　　l　　　　 　 　 　 ハ 　
　　　　　　　　}　,′ |　　 l　　　　ｉ |　　  __j　　
　　　　 　 　 /　′　 |　　 l　 　 　 ヽ|　 -‐=＝〉　
. 　 　 　 　 /　, 　 | 　 ｜　 　 　　 ｜　　　｜
　 　 　 　 /＿′　　  |　　 |　　　　　 l_＿＿＿_|
　 　 　 　 　 |!　　 | 　 ｜＞―--　―┴―-　       |
　　 　 　 　 ｜　　　｜ 　 |//ｉ i r　　　　    ｜
.　　　　 　 　 ､_＿__,ﾉ　　 |{_ﾋ｀ﾆ7ー'ー-　　 _＿,ﾉ
　　 　 　 　 　 　 |　 　 　 | |:::::::::|　　　|
```

### Usage

[](#usage)

```
