pinfort/laravel-topnav is a Laravel package for create simple top navigation for laravel.
It currently has 1 GitHub stars and 173 downloads on Packagist (latest version v0.1.0).
Install it with composer require pinfort/laravel-topnav.
Discover more Laravel packages by pinfort
or browse all Laravel packages to compare alternatives.
Last updated
Create simple top navigation for laravel
composer require pinfort/laravel-topnav
Attention: Perhaps it is necessary to change the minimum stability of the composer...
php artisan vendor:publish
You will find five new files.
Edit config/top_nav.php whatever you need. Read comments in the file.
Add translations to resources/lang/vendor/LaravelTopNav/en/ui.php. cf. config/top_nav.php
Add style sheet link to your view. near the line 14
in resources/views/layouts/app.blade.php(created by make:auth command)
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
+<link href="{{ asset('vendor/TopNav/top_nav.css') }}" rel="stylesheet">
Add following code in your view.
same file. in resources/views/layouts/app.blade.php(created by make:auth command)
near the line 39
<!-- Left Side Of Navbar -->
-<ul class="nav navbar-nav">
-</ul>
+@laraveltopnav
