Releases: ray-di/Ray.InputQuery
Releases · ray-di/Ray.InputQuery
1.0.0
0.3.0
Improved
- Enhanced nested query handling for bracketed object creation
This release improves the handling of nested query parameters when creating objects with bracketed notation, providing better support for complex nested data structures.
Full Changelog: 0.2.0...0.3.0
Release 0.2.0
Added
ToArrayInterfaceandToArrayimplementation for flattening objects to flat associative arrays
Features
- Convert nested Input objects to flat arrays for SQL parameter binding
- Preserve arrays for SQL IN clauses (Aura.Sql compatible)
- Recursive flattening with property conflict resolution
- Test coverage: 104 tests, 340 assertions
- PHP 8.1+ compatibility
🤖 Generated with Claude Code
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.