Weave 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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table