mesolaries/smart-api-bundle
Smart API Bundle is a Laravel/PHP package for building cleaner, more consistent APIs with less boilerplate. It streamlines common API concerns such as structured responses, validation, and reusable endpoints, helping teams ship maintainable JSON APIs faster.
The v1.1 release adds useful request-body validation controls: rule-level defaults for missing values, a $throwOnUndefined switch for rejecting versus stripping undefined parameters, normalizer execution before validation, and deterministic processor ordering. These are meaningful capabilities for Laravel API boundary validation, but they also introduce behavior-sensitive configuration that a TPM should manage through explicit policies and regression coverage.
default option and $throwOnUndefined, and do they preserve existing behavior?FormRequest/validator rules to the package’s validation map, add contract tests for valid, missing, defaulted, undefined, and malformed payloads, then expand endpoint by endpoint.$throwOnUndefined, normalizers, processors, and ordered execution.How can I help you explore Laravel packages today?