Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sensorario/resources

A library to validate requests for web api
https://github.com/sensorario/resources

json-schema php-7 php-validation php-validator php-value-objects

Last synced: 3 days ago
JSON representation

A library to validate requests for web api

Awesome Lists containing this project

README

        

# sensorario/resources

[![Code Coverage](https://scrutinizer-ci.com/g/sensorario/resources/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/sensorario/resources/?branch=master) [![Issue Count](https://codeclimate.com/github/sensorario/resources/badges/issue_count.svg)](https://codeclimate.com/github/sensorario/resources) [![Code Climate](https://codeclimate.com/github/sensorario/resources/badges/gpa.svg)](https://codeclimate.com/github/sensorario/resources) [![Latest Stable Version](https://poser.pugx.org/sensorario/resources/v/stable)](https://packagist.org/packages/sensorario/resources) [![Total Downloads](https://poser.pugx.org/sensorario/resources/downloads)](https://packagist.org/packages/sensorario/resources) [![Latest Unstable Version](https://poser.pugx.org/sensorario/resources/v/unstable)](https://packagist.org/packages/sensorario/resources) [![License](https://poser.pugx.org/sensorario/resources/license)](https://packagist.org/packages/sensorario/resources)

| 6.0 |
|----------------|
| [![Build Status](https://scrutinizer-ci.com/g/sensorario/resources/badges/build.png?b=master)](https://scrutinizer-ci.com/g/sensorario/resources/build-status/master) |

## Docs

- [Allow range of values][13]
- [Allowed properties][3]
- [Allowed values][4]
- [Compose resources][9]
- [Configurator][7]
- [Create resources][1]
- [Default values][2]
- [Example][10]
- [Global configuration][12]
- [Mandatory conditional example][16]
- [Mandatory properties][5]
- [Overridable values][11]
- [Raw example][14]
- [Rules][6]
- [Symfony example][15]
- [Symfony4 example][18]
- [Tests][8]
- [Tools][17]

[1]: doc/create-resources.md
[2]: doc/default-property-value.md
[3]: doc/define-allowed-properties.md
[4]: doc/define-allowed-values.md
[5]: doc/define-mandatory-properties.md
[6]: doc/rules.md
[7]: doc/define-resources-via-array.md
[8]: doc/tests.md
[9]: doc/compose-resources.md
[10]: doc/example.md
[11]: doc/overridable.md
[12]: doc/globals.md
[13]: doc/ranges.md
[14]: doc/raw-example.md
[15]: doc/symfony-example.md
[16]: doc/macrocategory-category-subcategory.md
[17]: doc/tools.md
[18]: doc/symfony4-example.md