Adds a service provider for json schemas
dutchcodingcompany/laravel-json-schema is a Laravel package for adds a service provider for json schemas.
It currently has 0 GitHub stars and 1.495 downloads on Packagist (latest version 3.0.2).
Install it with composer require dutchcodingcompany/laravel-json-schema.
Discover more Laravel packages by dutchcodingcompany
or browse all Laravel packages to compare alternatives.
Last updated
This package makes it easy to use swaggest/json-schema in laravel.
You can install the package via composer:
composer require dutchcodingcompany/laravel-json-schema
storage/app/schema/example.jsonnew \DutchCodingCompany\LaravelJsonSchema\Rules\JsonSchemaRule('example')new \DutchCodingCompany\LaravelJsonSchema\Rules\JsonSchemaAttributeRule('type', TypeEnum::class) (be careful to validate the attribute type in this case)To customize the schema directory, use environment variable JSON_SCHEMA_DIRECTORY or publish the config file.
The MIT License (MIT). Please see License File for more information.