doctorx32/sylius-grid-json-driver-bundle 问题修复 & 功能扩展

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

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

doctorx32/sylius-grid-json-driver-bundle

Composer 安装命令:

composer require doctorx32/sylius-grid-json-driver-bundle

包简介

Driver that parses input JSON data for displaying it in Sylius grids

README 文档

README

This bundle adds json driver to SyliusGridBundle, which helps get data from specified url and display it as common Sylius Grid.

Installation

  1. require the bundle with Composer:
$ composer require doctorx32/sylius-grid-json-driver-bundle
  1. enable the bundle in app/AppKernel.php:
public function registerBundles()
{
  $bundles = array(
    // ...
    new Sylius\Bundle\GridBundle\Driver\Json\SyliusGridJsonDriverBundle(),
    // ...
  );
}
  1. prepare your grid for looking similar as:
sylius_grid:
    grids:
        app_admin_supplier:
            driver:
                name: json
                options:
                    url: "/api/v1/products/"
                    host: "http://localhost:8000"
            fields:
                "[name]":
                    type: string
                "[code]":
                    type: string
            filters:
                search:
                    type: string
  1. on the specified url side should be Sylius Grid api response, which contains fields and filters with same names as in step 3.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固