Skip to content

Commit 3610fce

Browse files
committed
update readme to expand the description
1 parent 3642601 commit 3610fce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Salvation for your Model validation.
1+
# Salvation for your model validation.
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/steven-fox/laravel-model-validation.svg?style=flat-square)](https://packagist.org/packages/steven-fox/laravel-model-validation)
44
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/steven-fox/laravel-model-validation/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/steven-fox/laravel-model-validation/actions?query=workflow%3Arun-tests+branch%3Amain)
@@ -7,6 +7,11 @@
77

88
This package makes it easy to add validation helpers to your Eloquent models. Some similar packages already exist, but this package aims to achieve flawless functionality in a customizable, Laravel-esque way.
99

10+
The purpose of this package is to:
11+
1. Reduce code duplication by providing a single location where the baseline validation configuration is defined for your models.
12+
2. Make it easy to retrieve that configuration to supplement specific validation scenarios (like FormRequests, admin forms/actions, console input, etc.).
13+
3. Provide data integrity for applications by ensuring models adhere to a particular set of rules that is independent of UI.
14+
1015
## Key Features
1116

1217
- Adds several validation methods to your models like `validate()`, `passesValidation()`, and `failsValidation()`.

0 commit comments

Comments
 (0)