Skip to content

Commit 4507612

Browse files
committed
Update README.md
1 parent 69330d0 commit 4507612

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# Slim PHP Validator
1+
# Slim PHP Respect Validation
22

33
[![Latest Version on Packagist][ico-version]][link-packagist]
44
[![Software License][ico-license]](LICENSE.md)
5+
[![Build Status][ico-build]][link-build]
6+
[![Scrutinizer][ico-scrutinizer]][link-scrutinizer]
57
[![Total Downloads][ico-downloads]][link-downloads]
68

7-
A PHP validator using respect validator. Built for Slim.
9+
A SlimPHP validator using respect validation package.
810

911
## Install
1012

@@ -101,12 +103,6 @@ Container::set('view', function() {
101103
```
102104

103105
There are currently 5 functions supported by the extension,
104-
105-
new TwigFunction('has_errors', [$this, 'hasErrors']),
106-
new TwigFunction('has_error', [$this, 'hasError']),
107-
new TwigFunction('get_errors', [$this, 'getErrors']),
108-
new TwigFunction('get_error', [$this, 'getError']),
109-
new TwigFunction('get_value', [$this, 'getValue']),
110106

111107
- `has_errors()` - Returns true if there are any errors
112108
- `has_error($key)` - Returns true if `$key` is invalid
@@ -129,8 +125,12 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
129125

130126
[ico-version]: https://img.shields.io/packagist/v/TerminusStudio/PHPValidator.svg?style=flat-square
131127
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
128+
[ico-build]: https://github.com/TerminusStudio/PHPValidator/workflows/CI/badge.svg
129+
[ico-scrutinizer]: https://img.shields.io/scrutinizer/quality/g/TerminusStudio/PHPValidator
132130
[ico-downloads]: https://img.shields.io/packagist/dt/TerminusStudio/PHPValidator.svg?style=flat-square
133131

134132
[link-packagist]: https://packagist.org/packages/TerminusStudio/PHPValidator
135133
[link-downloads]: https://packagist.org/packages/TerminusStudio/PHPValidator
134+
[link-build]: https://github.com/TerminusStudio/PHPValidator/actions?query=workflow%3ACI
135+
[link-scrutinizer]: https://scrutinizer-ci.com/g/TerminusStudio/PHPValidator/?branch=main
136136
[link-author]: https://github.com/TerminusStudio

0 commit comments

Comments
 (0)