joanne/scrapping-php 问题修复 & 功能扩展

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

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

joanne/scrapping-php

最新稳定版本:1.0.0

Composer 安装命令:

composer require joanne/scrapping-php

包简介

README 文档

README

This project is a PHP scraping application that retrieves data from a website using the DomCrawler component of Symfony.

We retrieve the following information from the website https://www.planete-sonic.com/univers/personnages/personnages-des-jeux/:

  • Character name
  • Character image
  • Character description

Prerequisites

  • PHP 8.0 or later

Installation

  1. Clone the repository:
    git clone
  1. Install the dependencies:
    composer install

Usage of Symfony Components

This project uses the following Symfony components:

  • DomCrawler
  • HttpClient
  • CssSelector

These components provide powerful functionalities for web scraping, allowing you to navigate through HTML and extract desired data.

Tests

To perform static code analysis, use PHPStan:

   php vendor/bin/phpstan analyze src --level=max

To run unit tests, use PHPUnit:

    php vendor/bin/phpunit tests

Contributors

  • Joanne Massillon @joannemas

Licence

This project is licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-05