Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thephpleague/json-guard
Validation of json-schema.org compliant schemas.
https://github.com/thephpleague/json-guard
json-schema
Last synced: about 1 month ago
JSON representation
Validation of json-schema.org compliant schemas.
- Host: GitHub
- URL: https://github.com/thephpleague/json-guard
- Owner: thephpleague
- License: mit
- Archived: true
- Created: 2016-02-11T14:16:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T04:26:51.000Z (over 6 years ago)
- Last Synced: 2024-09-07T16:36:36.221Z (4 months ago)
- Topics: json-schema
- Language: PHP
- Homepage: http://json-guard.thephpleague.com/
- Size: 453 KB
- Stars: 175
- Watchers: 10
- Forks: 26
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# JSON Guard
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Documentation][ico-docs]][link-docs]# Unmaintained!
This project is no longer maintained. Recommended alternatives:
- [opis/json-schema](https://github.com/opis/json-schema)
- [swaggest/php-json-schema](https://github.com/swaggest/php-json-schema)-----
This package is a validator for [JSON Schema](http://json-schema.org/). It fully supports draft 4 of the specification.
Notable Features:
- Passes the entire [draft 4 JSON Schema Test Suite](https://github.com/json-schema/JSON-Schema-Test-Suite).
- Fully customizable with custom rule sets.
- Helpful error messages with JSON Pointers.## Install
### Via Composer
```bash
composer require league/json-guard
```## Usage
Complete documentation is available [here](http://json-guard.thephpleague.com/).
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.
## Testing
You need to run a web server while testing.
```bash
$ composer test-server
```Once the server is running, you can run the test suite.
``` bash
$ composer test
```## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Matt Allan][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[link-travis]: https://travis-ci.org/thephpleague/json-guard
[link-scrutinizer]: https://scrutinizer-ci.com/g/thephpleague/json-guard/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/thephpleague/json-guard
[link-docs]: http://json-guard.thephpleague.com/
[link-author]: https://github.com/thephpleague
[link-contributors]: ../../contributors[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/thephpleague/json-guard/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/thephpleague/json-guard.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/thephpleague/json-guard.svg?style=flat-square
[ico-docs]: https://img.shields.io/badge/Docs-Latest-brightgreen.svg?style=flat-square