Download the PHP package ngankt2/filament-menu-top-switcher without Composer

On this page you can find all versions of the php package ngankt2/filament-menu-top-switcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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

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:

  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.

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

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

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:

    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

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

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.
  2. Create a new branch for your feature or bug fix.
  3. Submit a pull request with your changes.

License

This package is open-sourced software licensed under the MIT License.

Support

For issues, questions, or feature requests, please open an issue on the GitHub repository.


All versions of filament-menu-top-switcher with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ngankt2/filament-menu-top-switcher contains the following files

Loading the files please wait ....