Download the PHP package fuelviews/laravel-navigation without Composer
On this page you can find all versions of the php package fuelviews/laravel-navigation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fuelviews/laravel-navigation
More information about fuelviews/laravel-navigation
Files in fuelviews/laravel-navigation
Package laravel-navigation
Short Description Laravel navigation package
License MIT
Homepage https://github.com/fuelviews/laravel-navigation
Informations about the package laravel-navigation
Laravel Navigation Package
A comprehensive and flexible Laravel navigation package that provides beautiful, responsive navigation components with Alpine.js interactions and Tailwind CSS styling. Perfect for building modern Laravel applications with professional navigation experiences.
๐ Requirements
- PHP 8.3+
- Laravel 10.x, 11.x, or 12.x
- Alpine.js (included with Livewire)
- Tailwind CSS
๐ Installation
Install the package via Composer:
Quick Setup
Run the install command for guided setup:
This will:
- Publish the configuration file
- Publish view files for customization
- Provide setup instructions
Manual Setup
Alternatively, you can manually publish components:
โ๏ธ Configuration
The package uses a comprehensive configuration file located at config/navigation.php
:
Navigation Items
Define your navigation structure with support for simple links and dropdown menus:
Visual Configuration
Pre-scrolled Routes
Define routes that should have a "scrolled" appearance from page load:
๐งฉ Components
Desktop Navigation
Mobile Navigation
Navigation Wrapper
Utility Components
๐ฏ Complete Navigation Example
Here's a complete navigation setup:
๐จ Styling with Tailwind CSS
Add the package views to your tailwind.config.js
:
๐ง Using the Navigation Facade
Access navigation data programmatically:
๐ ๏ธ Artisan Commands
List Navigation Items
View all configured navigation items:
Output:
Validate Configuration
Validate your navigation configuration:
This command checks for:
- Required fields (type, position, name)
- Valid navigation types
- Route existence
- Duplicate positions
- Dropdown structure integrity
๐๏ธ Advanced Usage
Custom Navigation Items
Add navigation items programmatically:
Custom View Components
Extend the package with your own components:
๐งช Testing
The package includes comprehensive tests. Run them with:
Testing Your Navigation
Test navigation in your application:
๐จ Customization Examples
Custom Dropdown Styling
๐ค Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Development Setup
๐ Changelog
Please see CHANGELOG for more information on what has changed recently.
๐ Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
๐จโ๐ป Credits
- Joshua Mitchener
- Sweatybreeze
- Fuelviews
- All Contributors
๐ License
The MIT License (MIT). Please see License File for more information.
Built with โค๏ธ by the Fuelviews team
All versions of laravel-navigation with dependencies
illuminate/contracts Version ^10.0||^11.0||^12.0
ralphjsmit/laravel-glide Version *
spatie/laravel-package-tools Version ^1.92
fuelviews/laravel-forms Version *
livewire/livewire Version *