Componette

Componette

nexendrie

nexendrie / menu 2.4.0

Simple menu component for Nette applications

download-cloud-line composer require nexendrie/menu

Menu

Total Downloads Latest Stable Version Build Status Code Coverage License

Simple menu component for Nette applications.

Installation

The best way to install it is via Composer. Just add nexendrie/menu to your dependencies.

Documentation

See: https://nexendrie.gitlab.io/menu .

  • 2.4.0 Version 2.4.0

    Changelog:

    • raised minimal version of PHP to 7.4
    • used typed properties (possible BC break)
  • 2.3.0 Version 2.3.0

    Changelog:

    • raised minimal version of PHP to 7.3
    • deprecated getters and setters of Collection, Menu and MenuItem
    • made Menu::$name writable
    • MenuItem::$link is deprecated for raw link, use MenuItem::$rawLink instead
  • 2.2.0 Version 2.2.0

    Changelog:

    • dropped support for Nette 2.4
  • 2.1.0 Version 2.1.0

    Changelog:

    • added property MenuItem::$rawLink
    • raised minimal version of PHP to 7.2
  • 2.0.0 Version 2.0.0

    Removed:

    • removed support for section menu.conditions

    Changes:

    • marked some classes as final

    New features/improvements:

    • introduced menu item link renders
    • allowed absolute urls as link target
    • added support for subitems
  • 1.2.2 Version 1.2.2

    Changelog:

    • code cleaning
    • fixed some exception messages
    • removed indirect dependency on nette/reflection
  • 1.2.0 Version 1.2.0

    Changes in dependencies:

    • added dependency on nexendrie/utils

    Improvements:

    • added virtual property Menu::$allowedItems
    • added BaseCondition
  • 1.1.0 Version 1.1.0

    Section menu.conditions was deprecated and support for it will be removed in 2.0.0. Register manually custom conditions as services instead. MenuFactory is not autowired anymore.

  • 1.0.0 Version 1.0.0

    Changelog:

    • added conditional menu items
    • menus are now created by a factory (in DIC extension)
    • renamed constants in MenuExtension
  • 0.3.0 Version 0.3.0

    Changelog:

    • it is possible to define new menu types from neon
    • added support for translating
  • 0.2.0 Version 0.2.0

    Changelog:

    • allowed setting menu's html id
    • menu type's is now determined in template, see documentation
    • changed thrown exceptions
    • added support for custom menu types
  • 0.1.0 Version 0.1.0

    First version

Componette Componette felix@nette.org