Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitcodr/jsonschema-request
Laravel Server side form validation using JSON Schema .
https://github.com/bitcodr/jsonschema-request
json json-schema jsonschema jsonschema-request laravel schema validation
Last synced: 26 days ago
JSON representation
Laravel Server side form validation using JSON Schema .
- Host: GitHub
- URL: https://github.com/bitcodr/jsonschema-request
- Owner: bitcodr
- Created: 2018-05-16T20:51:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T15:00:56.000Z (over 6 years ago)
- Last Synced: 2024-04-30T02:03:32.113Z (8 months ago)
- Topics: json, json-schema, jsonschema, jsonschema-request, laravel, schema, validation
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-jsonschema-request
Laravel Server side form validation using JSON Schema## Install
composer require amiralii/jsonschema-request## How to use
1. Create a form request class as you would with artisan: php artisan make:request PersonRequest
2. Change the extended class in PersonRequest to use SchemaRequest/SchemaFormRequest
3. Implement the rules() method to return a JSON Schema stringExample
```