Download the PHP package ramphor/rake without Composer
On this page you can find all versions of the php package ramphor/rake. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor ramphor
Package rake
Short Description The spider/crawler framework written in PHP
License MIT
Package rake
Short Description The spider/crawler framework written in PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package rake
Rake PHP
The spider/crawler framework written in PHP
Example code
Kiến trúc:
- Sử dụng mô hình Facade để truy cập các service
- Có các abstract class và interface định nghĩa các contract
- Sử dụng dependency injection
- Có khả năng mở rộng thông qua các class kế thừa
Các thành phần chính:
- App: Singleton class quản lý các instance
- Rake: Class chính để thực hiện crawl
- Tooth: Abstract class định nghĩa cách xử lý dữ liệu
- Feed: Abstract class định nghĩa nguồn dữ liệu
- Resource: Quản lý tài nguyên (ảnh, file...)
- Parser: Xử lý dữ liệu thô thành FeedItem
Luồng xử lý:
- Khởi tạo Rake instance
- Thêm các Tooth để xử lý dữ liệu
- Tooth chứa Feed để lấy dữ liệu
- Parser chuyển đổi dữ liệu thành FeedItem
- Processor xử lý FeedItem = Resource Manager quản lý tài nguyên
Các tính năng:
- Hỗ trợ nhiều loại feed (CSV, HTML, Sitemap)
- Có khả năng download và xử lý tài nguyên
- Lưu trữ dữ liệu vào database
- Có hệ thống logging
- Có cơ chế retry khi lỗi
Adapter to working with your CMS/Framework
All versions of rake with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
psr/log Version ^1.0.1
php-http/httplug Version ^2.1
guzzlehttp/psr7 Version ^2.7.0
ramphor/sql Version 1.0.0
ramphor/php-html-parser Version ^3.1.0
ramphor/httplug-guzzle6-adapter Version ^2.0.2
psr/log Version ^1.0.1
php-http/httplug Version ^2.1
guzzlehttp/psr7 Version ^2.7.0
ramphor/sql Version 1.0.0
ramphor/php-html-parser Version ^3.1.0
ramphor/httplug-guzzle6-adapter Version ^2.0.2
The package ramphor/rake contains the following files
Loading the files please wait ....