octava/symfony-json-schema-form 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

octava/symfony-json-schema-form

Composer 安装命令:

composer require octava/symfony-json-schema-form

包简介

Clone of limenius/liform. Symfony json schema form is a library for serializing Symfony Forms into JSON schema.

README 文档

README

It generates a JSON schema representation, that serves as documentation and can be used to validate your data and, if you want, to generate forms using a generator.

It can be used along with liform-react or json-editor, or any other form generator based on json-schema.

Installation

  1. Download the Bundle
composer require octava/symfony-json-schema-form
  1. Enable the Bundle

Usage

Serializing a form into JSON Schema:

$form = $this->createForm(CarType::class, $car, ['csrf_protection' => false]);
$schema = json_encode($this->get('sjsfom')->transform($form));

统计信息

  • 总下载量: 33.83k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固