PHPackages                             ngankt2/filament-menu-top-switcher - 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. ngankt2/filament-menu-top-switcher

ActiveLibrary[Admin Panels](/categories/admin)

ngankt2/filament-menu-top-switcher
==================================

A simple FilamentPHP plugin that allows switching between Top Navigation and Sidebar layouts dynamically — perfect for customizing the look and feel of your admin panel based on user preferences

v4.1.0(3mo ago)42.6k↓37%MITPHPPHP ^8.1|^8.2|^8.3

Since Jul 9Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/ngankt2/filament-menu-top-switcher)[ Packagist](https://packagist.org/packages/ngankt2/filament-menu-top-switcher)[ Docs](https://github.com/ngankt2/filament-menu-top-switcher)[ RSS](/packages/ngankt2-filament-menu-top-switcher/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (2)Versions (14)Used By (0)

Filament Menu Top Switcher
==========================

[](#filament-menu-top-switcher)

A simple FilamentPHP plugin that allows switching between Top Navigation and Sidebar layouts dynamically — perfect for customizing the look and feel of your admin panel based on user preferences.

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

[](#installation)

To install the `filament-menu-top-switcher` plugin, follow these steps:

1. **Install the package via Composer**:

    Run the following command in your terminal to install the plugin:

    ```
    composer require ngankt2/filament-menu-top-switcher
    ```
2. **Register the plugin in your Filament Panel**:

    Open your Filament Panel Provider (e.g., `AdminPanelProvider.php`) and add the plugin to the panel configuration. Typically, this file is located in the `app/Providers` directory.

    ```
    use Ngankt2\FilamentMenuTopSwitcher\FilamentMenuTopSwitcherPlugin;

    public function panel(Panel $panel): Panel
    {
        return $panel
            // ... other panel configurations
            ->plugin(FilamentMenuTopSwitcherPlugin::make());
    }
    ```

    This registers the `filament-menu-top-switcher` plugin with your Filament panel.

Usage
-----

[](#usage)

Once the plugin is installed and registered, it enables users to dynamically switch between **Top Navigation** and **Sidebar** layouts in the Filament admin panel. The plugin provides a seamless way to toggle between these layouts, allowing users to customize the admin panel's look and feel based on their preferences.

### Features

[](#features)

- **Dynamic Switching**: Users can toggle between Top Navigation and Sidebar layouts directly within the admin panel.
- **User Preference**: The plugin respects user preferences, ensuring a personalized experience.
- **Seamless Integration**: Works out-of-the-box with FilamentPHP v3.0 and above, requiring minimal setup.

### Customizing Translations

[](#customizing-translations)

To customize the plugin's language translations, you can publish the translation files and modify them as needed.

1. **Publish the translation files**:

    Run the following Artisan command to publish the translation files to your application's `lang` directory:

    ```
    php artisan vendor:publish --tag=filament-menu-top-switcher-translations
    ```

    This will copy the plugin's translation files to `lang/vendor/filament-menu-top-switcher` in your application.
2. **Edit the translations**:

    Navigate to the published translation files (e.g., `lang/vendor/filament-menu-top-switcher/en.json` for English) and modify the text to suit your needs. You can also add new language files for other locales by creating additional JSON files in the same directory.

### Configuration

[](#configuration)

No additional configuration is required after registering the plugin. The plugin automatically integrates with your Filament panel and adds the layout-switching functionality to the user interface.

### Requirements

[](#requirements)

- **PHP**: `^8.1 | ^8.2 | ^8.3`
- **FilamentPHP**: `^3.0`
- **spatie/laravel-package-tools**: `^1.15.0`

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

[](#contributing)

Contributions are welcome! If you would like to contribute to this plugin, please follow these steps:

1. Fork the repository on GitHub: [ngankt2/filament-menu-top-switcher](https://github.com/ngankt2/filament-menu-top-switcher).
2. Create a new branch for your feature or bug fix.
3. Submit a pull request with your changes.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT License](https://opensource.org/licenses/MIT).

Support
-------

[](#support)

For issues, questions, or feature requests, please open an issue on the [GitHub repository](https://github.com/ngankt2/filament-menu-top-switcher).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~21 days

Recently: every ~28 days

Total

13

Last Release

98d ago

Major Versions

v1.0.4 → v4.0.02025-08-03

### Community

Maintainers

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

---

Top Contributors

[![ngankt2](https://avatars.githubusercontent.com/u/4226319?v=4)](https://github.com/ngankt2 "ngankt2 (10 commits)")

---

Tags

laravelfilamentfilamentphpmenu top switchermenu switchertopNavigation

### Embed Badge

![Health badge](/badges/ngankt2-filament-menu-top-switcher/health.svg)

```
[![Health](https://phpackages.com/badges/ngankt2-filament-menu-top-switcher/health.svg)](https://phpackages.com/packages/ngankt2-filament-menu-top-switcher)
```

###  Alternatives

[mradder/filament-logger

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

2317.4k](/packages/mradder-filament-logger)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

16354.2k](/packages/relaticle-custom-fields)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[awcodes/richer-editor

A collection of extensions and tools to enhance the Filament Rich Editor field.

3912.9k9](/packages/awcodes-richer-editor)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

3218.1k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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