PHPackages                             abdukhaligov/nova-column-toggler - 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. abdukhaligov/nova-column-toggler

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

abdukhaligov/nova-column-toggler
================================

A Laravel Nova package that allows you to hide/show columns in the index view.

00Vue

Since Apr 9Pushed 1y agoCompare

[ Source](https://github.com/Abdukhaligov/nova-column-toggler)[ Packagist](https://packagist.org/packages/abdukhaligov/nova-column-toggler)[ RSS](/packages/abdukhaligov-nova-column-toggler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Column Toggler
==============

[](#column-toggler)

[![Latest Version on Packagist](https://camo.githubusercontent.com/711d536b80b3a70e1ddedaae0d5927eb986ff9528181c4150c91aaba2e05a34e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469676974616c2d63726561746976652f636f6c756d6e2d746f67676c6572)](https://packagist.org/packages/digital-creative/column-toggler)[![Total Downloads](https://camo.githubusercontent.com/95f0b03b60ac19497bb735d3b84c86c089283716d23dee537043883df7d8fd7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469676974616c2d63726561746976652f636f6c756d6e2d746f67676c6572)](https://packagist.org/packages/digital-creative/column-toggler)[![License](https://camo.githubusercontent.com/24f13058b05fbd7b6747bcc626f97ef2a16cf9928cacadd2d89ecc61ba3b9249/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6469676974616c2d63726561746976652f636f6c756d6e2d746f67676c6572)](https://github.com/dcasia/column-toggler/blob/main/LICENSE)

  ![Column Toggler in Action](https://raw.githubusercontent.com/dcasia/column-toggler/main/screenshots/light.png)This package provides the ability to toggle columns in the index view of any resource.

Installation
============

[](#installation)

You can install the package via composer:

```
composer require digital-creative/column-toggler

```

Basic Usage
-----------

[](#basic-usage)

Add the `DigitalCreative\ColumnToggler\ColumnTogglerTrait` to all your resources. The best way to do it is to add it directly to your `App\Nova\Resource` class.

```
namespace App\Nova\Resources;

use DigitalCreative\ColumnToggler\ColumnTogglerTrait;
use Laravel\Nova\Resource as NovaResource;

abstract class Resource extends NovaResource
{
    use ColumnTogglerTrait;
}
```

By default, all columns will be selected/visible on the first page load, however you can define which should be hidden by calling `->hideByDefault()` on any nova field.

```
public function fieldsForIndex(NovaRequest $request): array
{
    return [
        ID::make()->sortable(),

        Text::make('First Name', 'first_name')
            ->sortable(),

        Text::make('Last Name', 'last_name')
            ->sortable(),

        Text::make('Favorite Color', 'favorite_color')
            ->sortable()
            ->hideByDefault(),

        Boolean::make('Active', 'active')
            ->hideByDefault(),
    ];
}
```

Done, now a new icon will appear in the top right corner of any table resource.

  ![Column Toggler in Action](https://raw.githubusercontent.com/dcasia/column-toggler/main/screenshots/bar-light.png)Configuration
-------------

[](#configuration)

You can enable / disable column sorting by adding the following to your `config/nova.php` file:

```
// config/nova.php

'vendors' => [
    'column_toggler' => [
        'enable_sorting' => false,
    ]
]
```

⭐️ Show Your Support
--------------------

[](#️-show-your-support)

Please give a ⭐️ if this project helped you!

### Other Packages You Might Like

[](#other-packages-you-might-like)

- [Nova Dashboard](https://github.com/dcasia/nova-dashboard) - The missing dashboard for Laravel Nova!
- [Nova Welcome Card](https://github.com/dcasia/nova-welcome-card) - A configurable version of the `Help card` that comes with Nova.
- [Icon Action Toolbar](https://github.com/dcasia/icon-action-toolbar) - Replaces the default boring action menu with an inline row of icon-based actions.
- [Expandable Table Row](https://github.com/dcasia/expandable-table-row) - Provides an easy way to append extra data to each row of your resource tables.
- [Collapsible Resource Manager](https://github.com/dcasia/collapsible-resource-manager) - Provides an easy way to order and group your resources on the sidebar.
- [Resource Navigation Tab](https://github.com/dcasia/resource-navigation-tab) - Organize your resource fields into tabs.
- [Resource Navigation Link](https://github.com/dcasia/resource-navigation-link) - Create links to internal or external resources.
- [Nova Mega Filter](https://github.com/dcasia/nova-mega-filter) - Display all your filters in a card instead of a tiny dropdown!
- [Nova Pill Filter](https://github.com/dcasia/nova-pill-filter) - A Laravel Nova filter that renders into clickable pills.
- [Nova Slider Filter](https://github.com/dcasia/nova-slider-filter) - A Laravel Nova filter for picking range between a min/max value.
- [Nova Range Input Filter](https://github.com/dcasia/nova-range-input-filter) - A Laravel Nova range input filter.
- [Nova FilePond](https://github.com/dcasia/nova-filepond) - A Nova field for uploading File, Image and Video using Filepond.
- [Custom Relationship Field](https://github.com/dcasia/custom-relationship-field) - Emulate HasMany relationship without having a real relationship set between resources.
- [Column Toggler](https://github.com/dcasia/column-toggler) - A Laravel Nova package that allows you to hide/show columns in the index view.
- [Batch Edit Toolbar](https://github.com/dcasia/batch-edit-toolbar) - Allows you to update a single column of a resource all at once directly from the index page.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://raw.githubusercontent.com/dcasia/column-toggler/master/LICENSE) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ec46198b58580b9411b22ce1c1d25519964a8d2681e10c5c6ce78ced0a380a?d=identicon)[abdukhaligov](/maintainers/abdukhaligov)

---

Top Contributors

[![milewski](https://avatars.githubusercontent.com/u/2874967?v=4)](https://github.com/milewski "milewski (26 commits)")[![stllmtbrt](https://avatars.githubusercontent.com/u/45660352?v=4)](https://github.com/stllmtbrt "stllmtbrt (2 commits)")[![webard](https://avatars.githubusercontent.com/u/855788?v=4)](https://github.com/webard "webard (2 commits)")[![Abdukhaligov](https://avatars.githubusercontent.com/u/23464168?v=4)](https://github.com/Abdukhaligov "Abdukhaligov (1 commits)")[![alancolant](https://avatars.githubusercontent.com/u/19172637?v=4)](https://github.com/alancolant "alancolant (1 commits)")[![batinmustu](https://avatars.githubusercontent.com/u/74476363?v=4)](https://github.com/batinmustu "batinmustu (1 commits)")

### Embed Badge

![Health badge](/badges/abdukhaligov-nova-column-toggler/health.svg)

```
[![Health](https://phpackages.com/badges/abdukhaligov-nova-column-toggler/health.svg)](https://phpackages.com/packages/abdukhaligov-nova-column-toggler)
```

###  Alternatives

[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[roave/psalm-html-output

Psalm HTML Output

23312.0k1](/packages/roave-psalm-html-output)[pear/system_daemon

A port of the PEAR class to create Daemons with pure PHP

11139.9k1](/packages/pear-system-daemon)[mateffy/laravel-codebase-mcp

An MCP server to give Cursor, Aider, etc. the ability to introspect your Laravel codebase directly, by querying for your models, views, routes and classes without raw file search.

201.1k](/packages/mateffy-laravel-codebase-mcp)

PHPackages © 2026

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