Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

Custom Action Selector

Readme

Nova Custom Action Selector

Latest Version on Packagist Licence Total Downloads

This package allows you to change the action select box to a button view.

Installation

composer require energon7/custom-action-selector

Usage

NovaServiceProvider.php:

use Energon7\CustomActionSelector\CustomActionSelector;

//...

public function tools()
{
    return [
         new CustomActionSelector()
    ];
}

Then create any action:

php artisan nova:action SomeAction

You can add icon to a action button.

SomeAction.php:

  public $icon = '<svg> ... </svg>';
  public function __construct()
  {
      $this->withMeta([
          'icon' => $this->icon
      ]);
  }
  

Credits

License

This project is open-sourced software licensed under the MIT license.

Screenshots

Back to Top
Added 5 years ago
Last updated 5 Years Ago
Version 0.1.0
Composer
energon7/custom-action-selector
GitHub stars 1
Packagist downloads 4,555

Favorites

4 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas