duon/sire

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP validation library

Maintainers

Package info

github.com/duoncode/sire

Homepage

pkg:composer/duon/sire

Statistics

Installs: 232

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.3.0 2026-02-21 17:36 UTC

This package is auto-updated.

Last update: 2026-05-10 12:48:44 UTC


README

Software License Codacy Badge Codacy Badge Psalm level Psalm coverage

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 duon/sire

Documentation

Use the docs in docs/ for complete setup and usage guidance.

License

This project is licensed under the MIT license.