Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove not needed ide helper file #3

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Makefile
.gitmodules
composer.lock
.idea
.phpunit.cache
.phpunit.cache
_ide_helper.php
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<p align="center">
<img alt="GitHub Workflow Status (branch)" src="https://github.com/karoldabro/validation-codes/actions/workflows/laravel.yml/badge.svg">
<img alt="Packagist Version" src="https://img.shields.io/packagist/v/kdabrow/validation-codes">
<img alt="Scrutinizer code quality (GitHub/Bitbucket)" src="https://img.shields.io/scrutinizer/quality/g/karoldabro/validation-codes/master">
</p>

# Validation Codes for Laravel

This package enhances Laravel's validation error responses (status 422) by adding corresponding validation rule codes. After installation, the response format is as follows:
Expand Down Expand Up @@ -47,7 +53,7 @@ This package extends Laravel's default validation system by overwriting the defa
To publish the configuration and language files containing the codes, use Laravel's command:

```shell
php artisan publish --tag=validation_codes
php artisan vendor:publish --tag=validation_codes
```

You can then change the validation codes corresponding to the given rules in the published file, which looks like this:
Expand Down
Loading
Loading