https://github.com/rapidez/snowdog-menu
https://github.com/rapidez/snowdog-menu
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rapidez/snowdog-menu
- Owner: rapidez
- License: gpl-3.0
- Created: 2020-11-06T08:36:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-11-24T12:10:10.000Z (8 months ago)
- Last Synced: 2025-11-28T01:27:40.125Z (8 months ago)
- Language: PHP
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Rapidez Snowdog Menu
A Blade component will be registered which can be used:
```
```
## Installation
If you didn't remove the default menu package yet:
```
composer remove rapidez/menu
```
Install this package:
```
composer require rapidez/snowdog-menu
```
And replace `` with `` in the header Blade file (and replace the identifier):
```
resources/views/vendor/rapidez/layouts/partials/header.blade.php
```
If you haven't published the Rapidez views yet:
```
php artisan vendor:publish --provider="Rapidez\Core\RapidezServiceProvider" --tag=views
```
## Views
You can publish the views with:
```
php artisan vendor:publish --provider="Rapidez\SnowdogMenu\SnowdogMenuServiceProvider" --tag=views
```
### Types
Currently there is only an anchor in the views as the category and custom url types are mostly used; but you can check the `$item->type` and do things conditionally with that, for example:
```
@if($item->type == 'cms_block')
@content($item->content)
@endif
```
## License
GNU General Public License v3. Please see [License File](LICENSE) for more information.