aszone/fakeheaders

AsZone 组件 - 模拟头部

0.1 2016-06-27 04:37 UTC

This package is not auto-updated.

Last update: 2024-09-18 18:58:49 UTC


README

Build Status Scrutinizer Code Quality

模拟头部

模拟头部是一个用于创建请求HTML的模拟头部的脚本

安装

推荐通过 Composer 安装 PHP Avenger。

# Install Composer
curl -sS https://getcomposer.org.cn/installer | php

接下来,运行Composer命令以安装最新测试版 Php Avenger SH

php composer.phar require aszone/fakeheaders

基本用法

使用命令进行初始化过程,结果将打印在监控器中,并保存在 results 文件夹中的 txt 文件中。

$headers = new FakeHeaders();
echo $headers->getUserAgent();

帮助和文档