Skip to content

Commit

Permalink
Remove not needed ide helper file
Browse files Browse the repository at this point in the history
Remove not needed imports
Add missing dependencies
Update readme.md
  • Loading branch information
karoldabro committed Jun 4, 2024
1 parent 25b0303 commit 52fc2e1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 20,858 deletions.
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

0 comments on commit 52fc2e1

Please sign in to comment.