samirelbouzidi/rendu
最新稳定版本:v1.0.3
Composer 安装命令:
composer require samirelbouzidi/rendu
包简介
First package
README 文档
README
Scraping French Presidents Information from Wikipedia This PHP script uses Goutte to extract information about French presidents from the dedicated Wikipedia page. It retrieves the name, birth and death dates, as well as the start and end dates of each president's term. Prerequisites : Before running the script, make sure you have PHP installed on your machine. You will also need Composer to manage the project dependencies. Installation : Clone this repository to your machine. Run the composer install command to install the required dependencies. Usage : Modify the native.php file to specify the URL of the Wikipedia page containing the list of French presidents. Run the script by executing php native.php from your terminal, being in the src folder in the terminal. The information about the presidents will be extracted and displayed on the screen. Tests : This project comes with unit tests for the WikipediaPresidentScraperTest class. You can run the tests using PHPUnit by executing the following command from the project root: vendor\bin\phpunit.bat tests\WikipediaPresidentScraperTest.php Make sure you have executed the composer install command beforehand to install PHPUnit. License : This project is licensed under the MIT license. Please see the LICENSE file for more information. Feel free to customize this README to fit your project and its specificities.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-04