Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sylius Grid Json Driver Bundle Laravel Package

doctorx32/sylius-grid-json-driver-bundle

View on GitHub
Deep Wiki
Context7

SyliusGridJsonDriverBundle

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

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor