Releases: KaririCode-Framework/kariricode-processor-pipeline
Releases · KaririCode-Framework/kariricode-processor-pipeline
v2.0.0
KaririCode\ProcessorPipeline v2.0.0
A robust, immutable processor pipeline component for the KaririCode Framework.
Enables modular, configurable processing chains for data transformation,
validation, and sanitization. ARFA 1.3 compliant.
Installation
composer require kariricode/processor-pipelineQuick Start
use KaririCode\ProcessorPipeline\ProcessorRegistry;
use KaririCode\ProcessorPipeline\ProcessorBuilder;
$registry = new ProcessorRegistry();
$registry
->register('sanitizer', 'trim', new TrimProcessor())
->register('sanitizer', 'lowercase', new LowercaseProcessor());
$builder = new ProcessorBuilder($registry);
$pipeline = $builder->buildPipeline('sanitizer', ['trim', 'lowercase']);
$result = $pipeline->process(' HELLO WORLD ');
// Result: 'hello world'Quality Metrics
| Metric | Value |
|---|---|
| Tests | 128 passing |
| Assertions | 234 |
| PHPStan Level | 9 (0 errors) |
| Psalm | 100% (0 errors) |
| Coverage | 100% classes / methods / lines |
| PHP Version | 8.4+ |
See CHANGELOG.md for details.
v1.3.2
What's Changed
- docs: update usage examples in README (en and pt-br) by @walmir-silva in #13
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
- complete test coverage and remove unused exceptions by @walmir-silva in #12
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- feat(processor-pipeline): implement attribute processing system by @walmir-silva in #10
- feat(processor-pipeline): add processingFailed method to ProcessorRun… by @walmir-silva in #11
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- commit: feat(processor-pipeline): add domain-specific exception handling by @walmir-silva in #9
Full Changelog: v1.1.6...v1.2.0
v1.1.6
What's Changed
- fix(validator): resolve processor state retention issues by @growthcodeoficial in #8
Full Changelog: v1.1.5...v1.1.6
v1.1.5
What's Changed
- feat(tests): Enhance ProcessorBuilderTest for 100% coverage by @growthcodeoficial in #7
Full Changelog: v1.1.4...v1.1.5
v1.1.4
What's Changed
- feat: add processing exception class by @growthcodeoficial in #6
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
- feat(processor): implement KaririCode\Contract\Processor\ProcessorReg… by @growthcodeoficial in #5
Full Changelog: v.1.1.2...v1.1.3
v.1.1.2
What's Changed
- refactor(processor-builder): apply readonly property to enhance immut… by @growthcodeoficial in #4
Full Changelog: v1.1.1...v.1.1.2