Skip to content

Release 0.1.0

Choose a tag to compare

@koriym koriym released this 07 Jul 01:18
· 21 commits to 1.x since this release

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, assigneeNameUserInput object)
  • 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-query

For file upload support:

composer require koriym/file-upload

Documentation

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.