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(1mo ago)02.1k↑15.2%MITPHPPHP ^8.1|^8.2|^8.3

Since Jul 9Pushed 2mo 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 1mo 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 94% of packages

Maintenance89

Actively maintained with recent releases

Popularity21

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

45d 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

[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[riodwanto/superduper-filament-starter-kit

A comprehensive Laravel Filament 3 💡 starter kit with pre-installed plugins, admin panel, user management, SEO tools, theme customization, and content management for rapid application development

2708.5k](/packages/riodwanto-superduper-filament-starter-kit)[a909m/filament-statefusion

Filament StateFusion is a powerful FilamentPHP plugin that seamlessly integrates Spatie Laravel Model States into the Filament admin panel. This package provides an intuitive way to manage model states, transitions, and filtering within Filament, enhancing the user experience and developer productivity.

3010.8k1](/packages/a909m-filament-statefusion)[resma/filament-awin-theme

A modern, responsive, and customizable theme for FilamentPHP, designed to elevate your admin panel with a sleek interface and seamless user experience.

1714.6k](/packages/resma-filament-awin-theme)[mradder/filament-logger

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

141.1k](/packages/mradder-filament-logger)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)

PHPackages © 2026

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