PHPackages                             marshmallow/categorise-resources - 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. marshmallow/categorise-resources

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

marshmallow/categorise-resources
================================

Group and categorise your nova resources

v1.3.2(4y ago)422.2k1[24 PRs](https://github.com/marshmallow-packages/categorise-resources/pulls)1MITPHPPHP ^7.1|^8.0

Since Sep 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/categorise-resources)[ Packagist](https://packagist.org/packages/marshmallow/categorise-resources)[ Docs](https://github.com/marshmallow-packages/categorise-resources)[ RSS](/packages/marshmallow-categorise-resources/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (34)Used By (1)

Nova Resource Categoriser
=========================

[](#nova-resource-categoriser)

This is a packages to make your side menu in Nova a bit nicer. This package works with the normal `$group` variable from Nova to group your resources. What this package does, is it collapses your groups to keep it nice and tidy. Also you are able to add an icon to your groups to make nagivating even more fun.

[![](https://raw.githubusercontent.com/marshmallow-packages/categorise-resources/master/resources/images/screenshot.png)](https://raw.githubusercontent.com/marshmallow-packages/categorise-resources/master/resources/images/screenshot.png)

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

[](#installation)

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

```
composer require marshmallow/categorise-resources
```

Usage
-----

[](#usage)

In any / all of your resources add

```
public static $group = "Your Category label";
```

Order groups
------------

[](#order-groups)

Optionaly, you can add `public static $group_priority = 10;` to the same resources where you add your icon. This doesn't have to be the same one, it just has to be one of the resources within the group.

Order resources
---------------

[](#order-resources)

Optionaly, you can add `public static $priority = 10;` to your resource. This priotity will determine the position of the resource in the group that its in. Currently the groups can not be ordered. This is done alphabeticly.

Icons
-----

[](#icons)

You can add svg icon from . To use an icon, please follow the steps below.

- Download zondicons and open `*.svg` icon in browser
- `right click` in browser and choose inspect element
- Copy the svg tag and place it in a `$group_icon` parameter on one of the resources in the group. We will use the first we find in the group.
- Add the class `sidebar-icon` to the svg tag like so: ``.
- Add the fill attibute `var(--sidebar-icon)` to the path tag like so: ``.

```
class Customer extends Resource
{
    public static $group = 'Customers';

    public static $group_icon = '';

    // ...
}
```

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Alex Bowers](https://github.com/alexbowers)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 76.6% 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

Every ~40 days

Total

8

Last Release

1817d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.0

v1.2.2PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/be33d2624e24c516e73892b0929447cc762f3622c024ab8d0d2a59042e5d2c7f?d=identicon)[marshmallow](/maintainers/marshmallow)

---

Top Contributors

[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (49 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (4 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/marshmallow-categorise-resources/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-categorise-resources/health.svg)](https://phpackages.com/packages/marshmallow-categorise-resources)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.6M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51177.6k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17178.1k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11258.1k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1197.8k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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