Libraries tagged by constraint
andydefer/data-validator
1096 Downloads
Validates and sanitizes structured data arrays with configurable constraints (size, depth, nesting, key/value types).
mpyw/laravel-unique-violation-detector
63970 Downloads
Detect primary/unique key or constraint violation errors from PDOException.
decodelabs/tightrope
20953 Downloads
Reusable constraints for your PHP classes
vcian/php-db-auditor
47 Downloads
Database DB Auditor provide leverage to audit your MySql database standards and also provide options to add constraints in table.
grazulex/php-semver-sieve
375 Downloads
A pure PHP package for checking if a version string is included in one or more version ranges. Supports SemVer 2.0.0 and multiple version dialects (Composer, npm, PyPI, etc.)
ctw/ctw-composer-plugin-composerlenientplugin
562 Downloads
Composer plugin that relaxes the upper bound of the PHP platform, or of any package requirement, for an allowlist of packages, so dependencies capped to an older PHP (e.g. ~8.4.0) or an older dependency major (e.g. laminas/laminas-servicemanager ^3) resolve on a newer one without --ignore-platform-req, forking, or editing vendor.
wepesi/optionsresolver
347 Downloads
The OptionsResolver component helps you configure objects with option arrays. It supports default values, option constraints and lazy options.
tilttek/dice-bundle
39 Downloads
tilttek/dice in Symfony: configured dice rolled securely, a journal of replayable rolls, macros, a form field and constraint, and results shown in Twig.
sofyco/doctrine-mongodb-document-validation-bundle
2952 Downloads
Doctrine ODM Validation Constraints
siberfx/rbac-permission
39 Downloads
Scope-aware roles and permissions for Laravel: module.resource.verb@scope grants, a scope ladder, query constraints, and HTTP, console, Gate and Blade enforcement with an explainable decision trace.
shahmal1yev/gcollection
3786 Downloads
GenericCollection is a versatile PHP library that provides a type-safe collection class for managing various data types. Simplify your data management with intuitive methods and strong type constraints.
sfneal/scopes
63677 Downloads
Add custom constraints to all queries performed on an Eloquent Model.
pureframework/pure-framework
1284 Downloads
Thin PHP framework: router, DB, forms, constraints, templates
phptailors/phpunit-recursive
290 Downloads
Support for recursive constraints
phil/ujo-bundle
34 Downloads
phil/ujo in Symfony: UJO (Universal JSON Output) documents checked in a form field and a constraint, and rendered as safe HTML or text in Twig.