Release 0.1.0
Ray.InputQuery 0.1.0
Initial release of Ray.InputQuery - Structured input objects from HTTP with 100% test coverage.
Features
- Declarative Input Handling: Use
#[Input]attributes to define input structure - Automatic Type Conversion: Converts string inputs to appropriate PHP types
- Nested Object Support: Automatically creates nested objects from flat data (e.g.,
assigneeId,assigneeName→UserInputobject) - DI Integration: Seamlessly integrates with dependency injection containers
- File Upload Support: Optional integration with koriym/file-upload package
- Framework Agnostic: Works with any PHP framework or standalone
Installation
composer require ray/input-queryFor file upload support:
composer require koriym/file-uploadDocumentation
Requirements
- PHP 8.1 or higher
- ray/di ^2.18
- symfony/polyfill-php83 ^1.28
- koriym/file-upload ^0.2.0 (optional)
See CHANGELOG.md for detailed changes.