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-11-22 21:54:19 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'),