Skip to content

Commit 7e76bd2

Browse files
authored
Merge pull request #3 from karoldabro/feature/improvments
Remove not needed ide helper file
2 parents 25b0303 + 52fc2e1 commit 7e76bd2

5 files changed

Lines changed: 11 additions & 20858 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ Makefile
88
.gitmodules
99
composer.lock
1010
.idea
11-
.phpunit.cache
11+
.phpunit.cache
12+
_ide_helper.php

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<p align="center">
2+
<img alt="GitHub Workflow Status (branch)" src="https://github.com/karoldabro/validation-codes/actions/workflows/laravel.yml/badge.svg">
3+
<img alt="Packagist Version" src="https://img.shields.io/packagist/v/kdabrow/validation-codes">
4+
<img alt="Scrutinizer code quality (GitHub/Bitbucket)" src="https://img.shields.io/scrutinizer/quality/g/karoldabro/validation-codes/master">
5+
</p>
6+
17
# Validation Codes for Laravel
28

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

4955
```shell
50-
php artisan publish --tag=validation_codes
56+
php artisan vendor:publish --tag=validation_codes
5157
```
5258

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

0 commit comments

Comments
 (0)