netherphp/browser 问题修复 & 功能扩展

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

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

netherphp/browser

Composer 安装命令:

composer require netherphp/browser

包简介

Lightweight web requests.

README 文档

README

Packagist Build Status codecov

Provide a light weight means of asking for remote resources, idealy with the fewest number of error cases to consider but that has yet to be seen. Able to fetch a remote resource using PHP's file_get_contents() or the cURL extension.

use Nether\Browser;

$Client = Browser\Client::FromURL('https://google.com/search?q=test');

// fetching generic data without any care as to what it may be.

$Text = $Client->Fetch();

// fetching data expecting the remote to be valid json. returns an array on
// success or null on failure.

$Data = $Client->FetchAsJSON(); // array or NULL.

// fetching data expecting the remote to be valid html. returns a Document on
// success or null on failure.

$HTML = $Client->FetchAsHTML(); // Browser\Document or NULL.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固