PHPackages                             creode/laravel-nova-account-approval - 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. [Admin Panels](/categories/admin)
4. /
5. creode/laravel-nova-account-approval

ActiveLibrary[Admin Panels](/categories/admin)

creode/laravel-nova-account-approval
====================================

A simple package which integrates with the laravel-account-approval package to grant additional actions within Nova.

1.3.1(1y ago)059[2 PRs](https://github.com/creode-modules/laravel-nova-account-approval/pulls)MITPHPPHP ^8.1CI passing

Since Jan 17Pushed 1w ago1 watchersCompare

[ Source](https://github.com/creode-modules/laravel-nova-account-approval)[ Packagist](https://packagist.org/packages/creode/laravel-nova-account-approval)[ Docs](https://github.com/creode/laravel-nova-account-approval)[ GitHub Sponsors](https://github.com/Creode)[ RSS](/packages/creode-laravel-nova-account-approval/feed)WikiDiscussions main Synced yesterday

READMEChangelog (8)Dependencies (9)Versions (15)Used By (0)

Laravel Nova Account Approval
=============================

[](#laravel-nova-account-approval)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1ac0862d863c2da5e695131194ddd15d9de1039d52d5fe7bea90fac0d6efb8c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6372656f64652f6c61726176656c2d6e6f76612d6163636f756e742d617070726f76616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creode/laravel-nova-account-approval)[![GitHub Tests Action Status](https://camo.githubusercontent.com/71ed69a6ce8a7567b00857b45de70828fc10b012dd6f6a6737100722f8f562ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6372656f64652d6d6f64756c65732f6c61726176656c2d6e6f76612d6163636f756e742d617070726f76616c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/creode-modules/laravel-nova-account-approval/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/89b0810191cf19a7cd9ea21c7341a0830d9d604c228d53f35465330aa40f25e5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6372656f64652d6d6f64756c65732f6c61726176656c2d6e6f76612d6163636f756e742d617070726f76616c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/creode-modules/laravel-nova-account-approval/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/175a2541ba07722f2b0a6449514764ad3222646e57249e36096be473c51582fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6372656f64652f6c61726176656c2d6e6f76612d6163636f756e742d617070726f76616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creode/laravel-nova-account-approval)

A simple package which integrates with the laravel-account-approval package to grant additional actions within Nova.

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

[](#installation)

You can install the package via composer:

```
composer require creode/laravel-nova-account-approval
```

Usage
-----

[](#usage)

This package currently just exposes some actions that can be used in Nova resources to activate and deactivate users.

This functionality is tied directly to the `laravel-account-approval` package, using it as a dependency of this one.

### Setting up the actions

[](#setting-up-the-actions)

To use the actions, you need to add them to your Nova resource. For example, if you have a User resource, you can add the actions like so:

```
/**
 * Get the actions available for the resource.
 *
 * @param  \Laravel\Nova\Http\Requests\NovaRequest  $request
 * @return array
 */
public function actions(NovaRequest $request)
{
    return [
        (new \Creode\LaravelNovaAccountApproval\Actions\ApproveAccount)
            ->confirmText('Are you sure you want to approve this account?')
            ->confirmButtonText('Approve')
        ->cancelButtonText("Don't Approve"),
        (new \Creode\LaravelNovaAccountApproval\Actions\DeactivateAccount)
            ->confirmText('Are you sure you want to deactivate this account?')
            ->confirmButtonText('Deactivate')
            ->cancelButtonText("Don't Deactivate"),
    ];
}
```

Actions are configured to be both inline and in bulk so they can be used to easily approve/deactivate multiple users at once from the main screen.

It may also be useful to display the status of the user in the resource index. This can be done by adding the following to the `fields` method of the resource:

```
/**
 * Get the fields displayed by the resource.
 *
 * @param  \Laravel\Nova\Http\Requests\NovaRequest  $request
 * @return array
 */
public function fields(NovaRequest $request)
{
    return [
        // Other fields...

        Boolean::make('Activated')
            ->sortable()
            ->rules('required', 'boolean'),

        // More other fields...
    ];
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Creode](https://github.com/creode-dev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance74

Regular maintenance activity

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~65 days

Recently: every ~45 days

Total

8

Last Release

437d ago

### Community

Maintainers

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

---

Top Contributors

[![jaymeh](https://avatars.githubusercontent.com/u/18261676?v=4)](https://github.com/jaymeh "jaymeh (11 commits)")[![liam-spedding](https://avatars.githubusercontent.com/u/111750536?v=4)](https://github.com/liam-spedding "liam-spedding (7 commits)")[![creode-dev](https://avatars.githubusercontent.com/u/19706903?v=4)](https://github.com/creode-dev "creode-dev (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelcreodelaravel-nova-account-approval

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/creode-laravel-nova-account-approval/health.svg)

```
[![Health](https://phpackages.com/badges/creode-laravel-nova-account-approval/health.svg)](https://phpackages.com/packages/creode-laravel-nova-account-approval)
```

###  Alternatives

[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

209151.3k2](/packages/guava-filament-knowledge-base)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2317.4k](/packages/mradder-filament-logger)[a2insights/filament-saas

Filament Saas for A2Insights

171.7k](/packages/a2insights-filament-saas)

PHPackages © 2026

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