celemas / sire
A PHP validation library
0.4.0
2026-06-10 18:10 UTC
Requires
- php: ^8.5
- symfony/html-sanitizer: ^8.0
Requires (Dev)
- celemas/dev: ^4.2
README
A PHP validation library with a shape-first API and a compact rule DSL.
Note: This is a preview feature currently under active development.
Sire defines required fields by default. Use field-level optional(), default(), empty(), and nullable() when a field can be absent, filled, empty, or explicitly null. Use shape-level prepare() for payload migrations, field-level prepare() for value normalization, and finalize() for final field output transforms.
Installation
composer require celemas/sire
Documentation
Use the docs in docs/ for complete setup and usage guidance.
License
This project is licensed under the MIT license.