Download the PHP package ycookies/filament-nav-manager without Composer

On this page you can find all versions of the php package ycookies/filament-nav-manager. 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-nav-manager

Filament Nav Manager

A powerful navigation management package for Filament v4 that allows you to dynamically manage your Filament panel navigation menus through a user-friendly interface.

📖 English Documentation

Latest Version PHP Version Filament Version

Features

✨ Rich Feature Set

Installation

You can install the package via Composer:

Publish and Run Migrations

This command will:

  1. Publish the configuration file
  2. Publish migration files
  3. Ask if you want to run migrations
  4. Allow you to sync panels

Or manually:

Configuration

Enable the Plugin

Add the plugin to your Filament panel provider:

Configure Permissions

Edit config/nav-manager.php:

Customize Navigation Group

You can customize which navigation group the Nav Manager resource appears in:

Usage

Syncing Filament Resources and Pages

Option 1: Via UI

  1. Navigate to "Navigation Manager" in your Filament panel
  2. Click the "Sync Filament Menu" button
  3. Confirm the sync operation

Option 2: Via Command Line

Sync a specific panel:

Or sync all panels during installation:

Managing Navigation Items

Once installed, you'll see "Navigation Manager" in your Filament navigation. From there you can:

Navigation Item Types

The package supports several navigation item types:

  1. Group - A navigation group that can contain child items
  2. Resource - Links to a Filament resource
  3. Page - Links to a Filament page
  4. Route - Links to a Laravel route
  5. URL - Links to any URL (internal or external)

Navigation Structure

Navigation items are organized in a hierarchical tree structure:

Advanced Usage

Programmatic Navigation Management

You can also manage navigation programmatically:

Custom Navigation Generation

Multi-Language Support

The package includes translations for:

Translations are automatically loaded. Set your application locale:

Role-Based Access Control

Configure which roles can access the Navigation Manager:

If using Spatie Laravel Permission:

Set to null to allow all authenticated users:

Tree View Support

If your application has a treeView table macro (commonly used for hierarchical data), the navigation table will automatically use it for a better tree-structured display.

Clearing Navigation Cache

Or via model:

Database Schema

The package creates a nav_manager table with the following structure:

Commands

Install Command

Runs migrations and optionally syncs panels.

Sync Command

Syncs Filament resources and pages for a specific panel.

Troubleshooting

Navigation Not Appearing

  1. Ensure the plugin is registered in your Panel Provider
  2. Check that navigation items have show = true
  3. Verify user has required roles (if configured)
  4. Clear navigation cache: NavManager::flushNavigationCache()

Sync Not Working

  1. Verify the panel ID exists
  2. Check that resources/pages are properly registered in the panel
  3. Review error logs for specific issues

Permission Issues

  1. Check config/nav-manager.php for allowed_roles configuration
  2. Verify user roles are correctly assigned
  3. Ensure Spatie Laravel Permission is installed if using roles

Requirements

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

The MIT License (MIT). Please see License File for more information.

Support

Changelog

Please see CHANGELOG for more information on what has changed recently.


Made with ❤️ by eRic


All versions of filament-nav-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0|^5.0
guava/filament-icon-picker Version ^3.0|^4.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 ycookies/filament-nav-manager contains the following files

Loading the files please wait ...