celemas / sire
A PHP validation library
0.3.0
2026-02-21 17:36 UTC
Requires
- php: ^8.5
- symfony/html-sanitizer: ^8.0
Requires (Dev)
- duon/dev: ^2.5
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.