Suggesting some configurations
- Dominant language
- PHP
- Stars
- 1.4k
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
Most common thing to do after utilising KnpMenu, is overriding the template, I believe we can overcome this step by providing some config in a yaml file for example
```
knp_menu:
menu_class: 'navbar-nav me-auto mb-2 mb-lg-0'
menu_item_class: 'nav-item'
menu_item_link_class: 'nav-link'
current_class: 'active'
current_class_on_link: true
```
I'd be willing to put some time in this effort with some direction, I lack the confidence in providing a solution like this :)
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by reviewing how KnpMenu currently handles template overrides, then determine where YAML configuration would connect to the listed menu and item classes. Done means the proposed configuration is supported and its effect on rendered menus is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100