定制 feskol/navigation-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

feskol/navigation-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require feskol/navigation-bundle

包简介

This bundle provides an integration of the feskol/php-navigation library.

README 文档

README

Tests codecov

This bundle is an integration of the feskol/php-navigation library with extensions for Symfony applications.

Features

  • Automatically tracks a link's active status and makes it easy to check if a parent navigation item has active child links.
  • Easy to set up and integrate into existing projects.
  • Flexible and extensible for complex navigation structures.

Installation

1. Install the bundle

composer require feskol/navigation-bundle

2. Enable the Bundle

FeskolNavigationBundle should be automatically enabled and configured, thanks to Flex.

If you don't use Flex, you can manually enable it, by adding the following line in your project's config/bundles.php:

<?php

return [
   // ...
   Feskol\Bundle\NavigationBundle\FeskolNavigationBundle::class => ['all' => true],
];

3. Configure the bundle (optional)

There are a few configurations available for this bundle. To make use of it, start by creating a new config file:

# config/packages/feskol_navigation.yaml

feskol_navigation:
    # Change the default template
    #template: 'my-navigation-template.html.twig'

    # Default render active links as normal link-tags instead of span-tag
    #active_as_link: true

Make sure you bin/console cache:clear after you change the config.

Usage

Please read the documentation. It's available in the docs directory of this bundle:

Compatibility

The current version of this bundle has the following requirements:

  • PHP 8.1 or newer is required
  • Symfony 6.1 or newer is required

统计信息

  • 总下载量: 110
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固