Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Route Tree Bundle Laravel Package

becklyn/route-tree-bundle

View on GitHub
Deep Wiki
Context7
4.2.1
4.2.0

4.2.0

:gift: New Features

  • Add support for PHP 8.

:sparkles: Improvements

  • Add missing property types and return types.
  • Add support for Symfony 6.

:hammer_and_wrench: Internal

  • Fix Symfony deprecations.
  • Replace TravisCI with GitHub Actions.
  • Remove support for Symfony 4.4.
4.1.4

:bug: Bug Fixes

  • Properly pass route default parameters through to the actual parameters merger.
4.1.3

:sparkles: Improvements

  • Use ConfigCache as second level cache.
4.1.2

:sparkles: Improvements

  • Allow becklyn/menu 2.0+
4.1.1

:sparkles: Improvements

  • Allow Symfony 5.
4.1.0

:gift: New Features

  • Add option to set tree parameters when rendering a tree.

:sparkles: Improvements

  • Removed automatically fetching attributes from the request (less magic is better).
4.0.1

:sparkles: Improvements

  • Bump becklyn/menu and sort items by default.
4.0.0

:boom: Breaking Changes

  • Use new becklyn/menu instead of knplabs/knp-menu-bundle
  • Remove parameters setting for
  • The twig function route_tree_menu() was removed. Directly use route_tree_render().
3.2.2

:bug: Bug Fixes

  • Fix bundle + extension definition
3.2.1

:sparkles: Improvements

  • Bump required Symfony to 4.2+
  • Bump required PHP to 7.2

:hammer_and_wrench: Internal

  • Fixed symfony deprecations
2.0.2

:bug: Bug Fixes

  • Render all nodes even when they're hidden

:hammer_and_wrench: Internal

  • Fix Twig deprecations
  • Add code coverage report via TravisCI
  • Update .gitignore
3.2.0

:gift: New Features

  • Added a custom renderer twig function route_tree_render()

:hammer_and_wrench: Internal

  • Simplified and unified the internal directory structure
3.1.1

:bug: Bug Fixes

  • Now only parameter values that are compatible with the parameter requirements are actually used.
2.0.1

In 2.0.0 the old option key page_tree was still used, although the docs already described the new (shorter) key tree. This has been fixed now.

You can define your route like this now:

route:
    path: /route
    defaults:
        # ...
    methods: [GET]
    options:
        tree:    # <-- new key here
            parent: homepage
            # ...
2.0.0

Rebuild from the ground up.

New features

  • inheriting parameters from the parent routes
  • inheriting parameters from the current route parameters
  • Caching

Removed features

  • Removed expression support in parameters

Changes

See the README.md for a detailed documentation

v1.4

In the previous versions the path variables were only filled if there were requirements.

Failed:

test_route:
    path: /test/{var}/test

Worked:

test_route:
    path: /test/{var}/test
    requirements:
        var: \d+

This is fixed now, variables are generated for all path variables, regardless of the requirements.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware