Download the PHP package pamellayamada/pamytools without Composer
On this page you can find all versions of the php package pamellayamada/pamytools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pamellayamada/pamytools
More information about pamellayamada/pamytools
Files in pamellayamada/pamytools
Package pamytools
Short Description Enterprise-Grade Fault-Tolerant Web Scraper, Async Transport & Auto-Hydrating Engine for PHP 8.2+
License MIT
Informations about the package pamytools
๐ Pamytools Framework
Pamytools is a high-performance, fault-tolerant PHP 8.2+ framework designed for async HTTP transport, web scraping resilience via Circuit Breakers, and auto-hydration of HTML/Regex into typed DTOs using native PHP Attributes.
โจ Features
- โก Async HTTP Engine: High-concurrency native multi-cURL transport driver.
- ๐ก๏ธ Circuit Breaker Pattern: Prevent cascading failures with customizable thresholds.
- ๐ท๏ธ Native PHP Attributes: Declarative mapping of DOMXPath and Regex into strongly-typed DTOs.
- ๐ Built-in I18n: Multi-language exception and message translator out of the box (
pt-BR,en-US,es-ES). - ๐ ๏ธ SOLID Architecture: Clean, extensible interfaces designed for testability and high coverage.
๐ Requirements
- PHP:
^8.2 - Extensions:
ext-curl,ext-dom,ext-json,ext-libxml
๐ฆ Installation
Install the package via Composer:
๐ Quick Start
1. Define your DTO with Native Attributes
Use #[ExtractPath] to declaratively map HTML elements or Regex patterns directly into your Data Transfer Object properties.
2. Fetch & Auto-Hydrate with Resilience
Combine the async transport engine, the Circuit Breaker pattern, and the Data Hydrator into a seamless execution pipeline:
๐๏ธ Project Architecture
๐งช Testing
Run tests with PHPUnit:
๐ License
This project is licensed under the MIT License.
All versions of pamytools with dependencies
ext-curl Version *
ext-dom Version *
ext-libxml Version *
ext-json Version *