infinety-es/temply-resources-selector

Infinety Temply resources selector card.

v1.1 2019-02-22 08:36 UTC

This package is auto-updated.

Last update: 2024-10-22 21:35:37 UTC


README

Instructions

  1. Install Package

    composer require infinety-es/temply-resources-selector
  2. Add a Listener in EventServiceProvider.php

    'Infinety\TemplyResourcesSelector\Events\ResourceChangedEvent' => [
        '\App\Listeners\YourListener',
    ],
  3. Add the card to NovaServiceProvider

    use Infinety\TemplyResourcesSelector\TemplyResourcesSelector;
    
    //...
    
    new TemplyResourcesSelector())
            ->width('1/3')
            ->type('groups'),