Skip to content

frostieDE/silex-validator-serviceprovider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silex Version ServiceProvider

Code Climate

ServiceProvider for Silex which enables annotations for the Symfony Validator component.

Installation

$ composer require frostiede/silex-validator-serviceprovider

Afterwards, register the ServiceProvider:

$app->register(new ValidatorServiceProvider());

Note: This is a replacement for the default ValidatorServiceProvider provided by Silex. So only use one of them.

Usage

Use it as the default ValidatorServiceProvider provided by Silex. But be happy about being able to use annotations.

Contribution

Any help is welcomed. Feel free to create issues and merge requests :-)

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages