rezzza/model-violation-logger-bundle
A Symfony bundle that captures model validation violations and logs them through a configurable logger. It helps developers audit failed validations, trace data issues in production, and keep a record of model errors without writing custom logging code.
Consider the pattern, rarely the package.
Consider it if:
Look elsewhere — including for anything new — because:
ValidationException, exception handler, and logging channels already give you the hook points.Verdict: low score is correct. Use as a design reference only; implement in-house or use native framework hooks.
To executives (one paragraph): This is not a vendor or licensing decision — it's a cheap internal instrumentation idea borrowed from an old, unmaintained open-source component. Implementing it ourselves costs roughly a day of engineering and gives us a ranked list of which validation rules reject real users most often, plus the context to resolve "it won't save" support tickets without a reproduction. It reduces support cost and improves form/API quality; it does not change the product surface, and it carries no third-party dependency or procurement risk.
To engineering (the ask): Don't add the dependency. Spend a spike replicating its behavior:
ValidationException; Symfony: validator listener).Success criteria: median time-to-diagnose for validation-related tickets drops; you can name your top five rule-level failure drivers within one sprint; zero PII in logs.
How can I help you explore Laravel packages today?