承接 pribolshoy/parseroid 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

pribolshoy/parseroid

最新稳定版本:v0.1.0-alpha.1

Composer 安装命令:

composer require pribolshoy/parseroid

包简介

Public library

README 文档

README

Package for parsing different types of resources (html pages, xml etc.).

This package is not ready solution for all resource types.

It just giving you necessary abstract functional for constructing you own needs. But in a way that makes it easy for you to do.

Simple example:

<?php
require_once "vendor/autoload.php";

$handler = (new \pribolshoy\parseroid\factories\HandlerFactory())
    ->create('html_page_handler', [
        'parser_name' => 'google_parser',
        'resource' => 'https://www.google.com/search?q=php+it%27s+amazing',
    ]);
$result = $handler->getItem();
print_r($result);

//<pre>Array
//(
//    [0] => Array
//    (
//        [input_text] => php it's amazing
//    )
//
//)
//</pre>
?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-07-12