---
title: "Feature: #96961 - Backend routes contain Composer package name"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-96961"
source: "Changelog/12.0/Feature-96961-BackendRoutesContainComposerPackageName.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Feature: #96961 - Backend routes contain Composer package name

See [forge#96961](https://forge.typo3.org/issues/96961)

## Description

Request objects in the backend already contain the resolved route
object as attribute. These route objects now contain the Composer
package name of the package ("extension") that defined the route as option:

```php
/** @var \TYPO3\CMS\Backend\Routing\Route $route */
$route = $request->getAttribute('route');
// Example return: "typo3/cms-backend" when EXT:backend defined that route.
$packageName = $route->getOption('packageName');
```

## Impact

The package name can be useful for filesystem lookups
or to bind configuration based on package name to it.
