2017 © Pedro Peláez
 

symfony-bundle sylius-grid-json-driver-bundle

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

image

doctorx32/sylius-grid-json-driver-bundle

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

  • Tuesday, May 8, 2018
  • by doctorx32
  • Repository
  • 1 Watchers
  • 2 Stars
  • 163 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 35 % Grown

The README.md

SyliusGridJsonDriverBundle

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

Installation

  1. require the bundle with Composer:, (*2)

    $ 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.

The Versions

08/05 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Dmitry Chornobyl

21/03 2018

1.2

1.2.0.0

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

  Sources   Download

MIT

The Requires

 

by Dmitry Chornobyl

04/03 2018

1.1

1.1.0.0

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

  Sources   Download

MIT

The Requires

 

by Dmitry Chornobyl

27/02 2018

1.0.2

1.0.2.0

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

  Sources   Download

MIT

The Requires

 

by Dmitry Chornobyl

18/02 2018

1.0.1

1.0.1.0

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

  Sources   Download

MIT

The Requires

 

by Dmitry Chornobyl