romain/rendu-1
最新稳定版本:1.0.0
Composer 安装命令:
composer require romain/rendu-1
包简介
Find out about upcoming films !
README 文档
README
This repository contains a library for scraping film release dates from a website It provides a simple and convenient way to retrieve upcoming film releases.
Installation 🛰️
To install the library, you can use Composer. Run the following command in your project directory:
composer require romain/rendu-1
Local development 📡
php vendor/bin/php-css-fixer fix src tests --rule-set=PSR12
php vendor/bin/phpstan analyse src tests --level max
php vendor/bin/phpunit tests
Usage 👨🚀
require_once 'vendor/autoload.php'; use Romain\Rendu1\FilmScraper; function printFilmReleases(array $filmReleases): void { foreach ($filmReleases as $film) { echo "Title: " . $film['title'] . "\n"; echo "Genres:\n"; foreach ($film['genres'] as $genre) { echo "- " . $genre . "\n"; } echo "\n"; } } $filmScraper = new FilmScraper(); $filmReleases = $filmScraper->scrapeNextFilmReleases(); printFilmReleases($filmReleases);
Contributing 💓
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
License
This project is licensed under the MIT License
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-03