Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Validation Error Logger Laravel Package

foxen/laravel-validation-error-logger

Log Laravel validation errors automatically from FormRequest classes using a simple trait. Configure the log channel and exclude sensitive fields (e.g., passwords) via a published config file, with per-request overrides available.

View on GitHub
Deep Wiki
Context7
v1.1.0

Add support for Laravel 13

v1.0.0

Release v1.0.0 - Laravel Validation Error Logger Package

🚀 v1.0.0 of the Laravel Validation Error Logger package is now live! 🎉

This package provides a simple and efficient way to log Form Request validation errors in your Laravel applications. It comes with a trait that can be added to any form request to automatically log detailed validation failure information, including request URLs, error messages, and relevant data (with customizable exclusions). Features:

📋 Automatic Validation Error Logging: Logs validation failures with detailed information.
🔧 Configurable Log Channels: Easily configure the log channel for validation errors.
🚫 Exclusion of Sensitive Data: Exclude specific fields from being logged.
🛠 Easy Integration: Simply include the LogsValidationErrors trait in your form requests to start logging validation errors.

Installation:

You can install the package via Composer:

composer require foxen/laravel-validation-error-logger

Configuration:

Publish the configuration file to customize settings like log channels and exclusions:

php artisan vendor:publish --provider="Foxen\LaravelValidationErrorLogger\ServiceProvider"

Usage:

Add the LogsValidationErrors trait to your form requests to enable automatic validation error logging. You can customize the default log channel and exclusion list by overriding the trait's default properties.

For full documentation and usage examples, please refer to the README. What's New:

Initial release with core functionality for logging validation errors.
Support for customizable logging channels and exclusion lists.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui