Search by

maikschneider / category-tree

m.schneider

Reusable category tree navigation component for TYPO3 backend modules, plus an optional category management module.

Package info

github.com/maikschneider/category-tree

Homepage

Documentation

Type:typo3-cms-extension

pkg:composer/maikschneider/category-tree

Statistics

Installs: 1 758

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.4.0 2026-09-24 14:26 UTC

README

Extension icon

TYPO3 extension category_tree

Latest version Supported TYPO3 versions Supported PHP versions Coverage Tests CGL License

A reusable category tree navigation component for TYPO3 backend modules, plus an optional Categories module for managing sys_category records. Declare the tree as the navigation component of your module, and selecting a node reloads the module with a category=<uid> query parameter. Creating, renaming, moving, copying, deleting and searching categories is handled by the tree.

<?php
// EXT:my_ext/Configuration/Backend/Modules.php

use MyVendor\MyExt\Controller\ReportController;

return [
    'myext_reports' => [
        'parent' => 'web',
        'access' => 'user',
        'labels' => 'LLL:EXT:my_ext/Resources/Private/Language/locallang_mod.xlf',
        'inheritNavigationComponentFromMainModule' => false,
        'navigationComponent' => '@maikschneider/category-tree/category-tree-element',
        'routes' => [
            '_default' => ['target' => ReportController::class . '::handleRequest'],
        ],
    ],
];

Your controller reads $request->getQueryParams()['category'] ?? 0. That is the entire contract.

The category tree next to the Categories module, with a selected category open in the regular TYPO3 record form

✨ Features

🔥 Installation

composer require maikschneider/category-tree

The navigation component is available right away, and the Categories module appears in the Content section (Web on TYPO3 13.4). Nothing has to be added to a site set or TypoScript.

Dependency Version
PHP ^8.2
TYPO3 ^13.4 || ^14.3

📙 Documentation

Configuration, usage and the developer API: docs.typo3.org.

🧑‍💻 Contributing

See CONTRIBUTING.md.

🔒 Security Policy

Please read our security policy if you discover a security vulnerability in this extension.

⭐ License

This project is licensed under GNU General Public License 2.0 (or later).