PHPackages                             opscale-co/nova-toolbar-actions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. opscale-co/nova-toolbar-actions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

opscale-co/nova-toolbar-actions
===============================

Show Nova actions directly in the toolbar

1.0.0(3mo ago)0152↓50%MITPHPPHP &gt;=8.2CI passing

Since Feb 18Pushed 3mo agoCompare

[ Source](https://github.com/opscale-co/nova-toolbar-actions)[ Packagist](https://packagist.org/packages/opscale-co/nova-toolbar-actions)[ Docs](https://github.com/opscale-co/nova-toolbar-actions)[ RSS](/packages/opscale-co-nova-toolbar-actions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Support us
----------

[](#support-us)

At Opscale, we’re passionate about contributing to the open-source community by providing solutions that help businesses scale efficiently. If you’ve found our tools helpful, here are a few ways you can show your support:

⭐ **Star this repository** to help others discover our work and be part of our growing community. Every star makes a difference!

💬 **Share your experience** by leaving a review on [Trustpilot](https://www.trustpilot.com/review/opscale.co) or sharing your thoughts on social media. Your feedback helps us improve and grow!

📧 **Send us feedback** on what we can improve at . We value your input to make our tools even better for everyone.

🙏 **Get involved** by actively contributing to our open-source repositories. Your participation benefits the entire community and helps push the boundaries of what’s possible.

💼 **Hire us** if you need custom dashboards, admin panels, internal tools or MVPs tailored to your business. With our expertise, we can help you systematize operations or enhance your existing product. Contact us at  to discuss your project needs.

Thanks for helping Opscale continue to scale! 🚀

Description
-----------

[](#description)

Display Nova actions as buttons directly in the index or detail toolbar, instead of burying them inside dropdown menus. Compatible with Nova 5.

[![Demo](https://raw.githubusercontent.com/opscale-co/nova-toolbar-actions/refs/heads/main/screenshots/nova-toolbar-actions.gif)](https://raw.githubusercontent.com/opscale-co/nova-toolbar-actions/refs/heads/main/screenshots/nova-toolbar-actions.gif)

Installation
------------

[](#installation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/44b60bb8c8aebc08ad5a8cfc146feb040e7b8f568af3cc0f3b0cfeafbc540891/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f707363616c652d636f2f6e6f76612d746f6f6c6261722d616374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opscale-co/nova-toolbar-actions)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require opscale-co/nova-toolbar-actions
```

The package will auto-register its service provider.

Usage
-----

[](#usage)

Add the `ShowAsButton` trait to any Nova action, then use the available methods to control where the action appears as a button.

```
use Laravel\Nova\Actions\Action;
use Opscale\NovaToolbarActions\ShowAsButton;

class ActivateUser extends Action
{
    use ShowAsButton;

    public $standalone = true;

    // ...
}
```

Then in your resource's `actions()` method:

```
public function actions(NovaRequest $request): array
{
    return [
        ActivateUser::make()->showAsButton(),
    ];
}
```

### Available Methods

[](#available-methods)

MethodDescription`showAsButton()`Show the action as a button on both index and detail toolbars`showOnIndexToolbar()`Show the action as a button on the index toolbar only`showOnDetailToolbar()`Show the action as a button on the detail toolbar onlyAll methods accept a `bool` parameter to enable/disable (`true` by default) and return the action instance for chaining.

> **Note:** On the index page, only standalone actions (`$standalone = true`) can be displayed as toolbar buttons, since they don't require resource selection. On the detail page, any action can be shown as a toolbar button.

Testing
-------

[](#testing)

```
npm run test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/opscale-co/.github/blob/main/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Opscale](https://github.com/opscale-co)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance82

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

90d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3722594?v=4)[opscale](/maintainers/opscale)[@opscale](https://github.com/opscale)

---

Top Contributors

[![opscale-development](https://avatars.githubusercontent.com/u/181295122?v=4)](https://github.com/opscale-development "opscale-development (3 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (1 commits)")

---

Tags

laravelpackagetoolnovaopscale

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opscale-co-nova-toolbar-actions/health.svg)

```
[![Health](https://phpackages.com/badges/opscale-co-nova-toolbar-actions/health.svg)](https://phpackages.com/packages/opscale-co-nova-toolbar-actions)
```

###  Alternatives

[pdmfc/nova-info-card

A Laravel Nova info card.

14103.0k2](/packages/pdmfc-nova-info-card)[cendekia/nova-setting-tool

An app setting manager tool for laravel nova

4010.5k](/packages/cendekia-nova-setting-tool)[demency/nova-gridder

A Laravel Nova Package for resource details grids.

1615.1k](/packages/demency-nova-gridder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
