struggle-for-php/sfp-ishiki-takai-https 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

最新稳定版本:1.1.0

Composer 安装命令:

composer require struggle-for-php/sfp-ishiki-takai-https

包简介

re-register https stream wrapper

README 文档

README

ISHIKI TAKAI HTTPS (意識高いHTTPS)

override global file_get_contents() behavior with padraic/humbug_get_contents.

(correctly, re-register https stream wrapper)

                / ̄二ニ=‐- ..__
              /  ノー--==ニ二う
.              i /  __ ,ヽ|           
.              | !   rqq   |l             
             {ヽ|    ゝ   |)          
.            `1  フ  |   このアプリつらいわー。file_get_contents()で、        
.             ヽ       ∧_   httpsアクセスしててまじつらいわー
            ∠二ヽ -‐' / >、       
.           /二ヽ}う / /  `  .     
           | っ_}ノVY^ヽ/        `ヽ   
           /j __ノ  l           ハ  
        } ,′ |   l    i |    __j  
         / ′  |   l      ヽ|  -‐==〉 
.         / ,   |   |       |   |
        /_′    |   |      l_____|
          |!   |   |>―-- ―┴―-        |
         |   |   |//i i r        |
.         、____,ノ   |{_ヒ`ニ7ー'ー-   __,ノ
             |      | |:::::::::|   |

Usage

<?php
// on bootstrap
require_once __DIR__.'/vendor/autoload.php';

SfpIshikiTakaiHttps\StreamWrapper::register();

// ok, go.
var_dump(file_get_contents('https://github.com/',false, $context));

Installation

$ composer require struggle-for-php/sfp-ishiki-takai-https ~1

See Also

ATTENTION

THIS PROJECT IS DEMONSTRATION FOR PHP STREAM WRAPPER USAGE, AND NOT INTENDED FOR PRODUCTION USE. PLEASE USE AT YOUR OWN RISK.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-02-05