https://github.com/phpmentors-jp/validator-bundle
Validation enhancements for Symfony applications
https://github.com/phpmentors-jp/validator-bundle
Last synced: 10 months ago
JSON representation
Validation enhancements for Symfony applications
- Host: GitHub
- URL: https://github.com/phpmentors-jp/validator-bundle
- Owner: phpmentors-jp
- License: bsd-2-clause
- Created: 2014-04-30T11:12:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2022-07-19T00:53:28.000Z (about 4 years ago)
- Last Synced: 2025-09-28T20:24:26.845Z (10 months ago)
- Language: PHP
- Homepage: https://github.com/phpmentors-jp/validator-bundle/wiki
- Size: 92.8 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHPMentorsValidatorBundle
Validation enhancements for Symfony applications
[](https://packagist.org/packages/phpmentors/validator-bundle)
[](https://packagist.org/packages/phpmentors/validator-bundle)
[](https://packagist.org/packages/phpmentors/validator-bundle)
[](https://travis-ci.org/phpmentors-jp/validator-bundle)
## Features
* Namespace alias configuration
* Constraints
* AtLeastOneOf
* Range
* ServiceCallback
## Installation
`PHPMentorsValidatorBundle` can be installed using [Composer](http://getcomposer.org/).
First, add the dependency to `phpmentors/validator-bundle` into your `composer.json` file as the following:
**Stable version**:
```
composer require phpmentors/validator-bundle "1.3.*"
```
**Development version**:
```
composer require phpmentors/validator-bundle "~1.4@dev"
```
Second, add `PHPMentorsValidatorBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:
```php
...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new PHPMentors\ValidatorBundle\PHPMentorsValidatorBundle(),
);
...
```
## Support
If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/validator-bundle/issues).
## Copyright
Copyright (c) 2014-2016, 2018 GOTO Hidenori, KUBO Atsuhiro, and contributors, All rights reserved.
## License
[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)