PHPackages                             lopatin96/laravel-navigation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lopatin96/laravel-navigation

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

lopatin96/laravel-navigation
============================

Laravel navigation

1.0.50(1y ago)09.0kMITBladePHP &gt;=8.0

Since Apr 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lopatin96/laravel-navigation)[ Packagist](https://packagist.org/packages/lopatin96/laravel-navigation)[ RSS](/packages/lopatin96-laravel-navigation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (52)Used By (0)

Install
=======

[](#install)

### View

[](#view)

#### Header

[](#header)

Replace content of *resource/views/layouts/header.blade.php* with:

```
@include('laravel-navigation::navigation.header')
```

and add imports to *resources/js/app.js*:

```
import '../../vendor/lopatin96/laravel-navigation/resources/js/anchor-scroller';

import '../../vendor/lopatin96/laravel-navigation/resources/js/header-links-hider';
```

#### Footer

[](#footer)

Replace content of *resource/views/layouts/footer.blade.php* with:

```
@include('laravel-navigation::navigation.footer')
```

#### Navigation-menu

[](#navigation-menu)

Replace content of *resource/views/navigation-menu.blade.php* with:

```
@include('laravel-navigation::navigation.navigation-menu')
```

#### Profile

[](#profile)

Replace content of *resource/views/profile/show.blade.php* with:

```
@include('laravel-navigation::navigation.settings')
```

and add gates to *app/Providers/AppServiceProvider.php*:

```
public function boot(): void
{
    …

    Gate::define('admin_area', static function (User $user) {
        return $user->isAdmin();
    });

    Gate::define('pro_area', static function (User $user) {
        return $user->subscribed();
    });

    Gate::define('true_area', static function (User $user) {
        return true;
    });

    Gate::define('false_area', static function (User $user) {
        return false;
    });
}
```

Publishing
==========

[](#publishing)

### Localization

[](#localization)

```
php artisan vendor:publish --tag="laravel-navigation-lang"
```

### Views

[](#views)

```
php artisan vendor:publish --tag="laravel-navigation-views"
```

### Config

[](#config)

```
php artisan vendor:publish --tag="laravel-navigation-config"
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance43

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 67.7% 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 ~13 days

Recently: every ~41 days

Total

51

Last Release

451d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ed7ade2d44e2f66eedf7dec7136ca591145f77d8192bdd789e04797c575d0f3?d=identicon)[Vladyslav Lopatin](/maintainers/Vladyslav%20Lopatin)

---

Top Contributors

[![lopatin96](https://avatars.githubusercontent.com/u/18104593?v=4)](https://github.com/lopatin96 "lopatin96 (42 commits)")[![vladyslav-lopatin-wskz](https://avatars.githubusercontent.com/u/214472383?v=4)](https://github.com/vladyslav-lopatin-wskz "vladyslav-lopatin-wskz (20 commits)")

### Embed Badge

![Health badge](/badges/lopatin96-laravel-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/lopatin96-laravel-navigation/health.svg)](https://phpackages.com/packages/lopatin96-laravel-navigation)
```

###  Alternatives

[rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

180738.8k11](/packages/rlanvin-php-ip)[pagerfanta/core

Core Pagerfanta API

487.9M24](/packages/pagerfanta-core)[php-slang/php-slang

PHPSlang is a library that allow you to write a purely functional code in PHP

10627.2k2](/packages/php-slang-php-slang)[bisight/etl

BiSight ETL: Extract, Transform, Load toolkit

124.1k](/packages/bisight-etl)

PHPackages © 2026

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