jpmschuler / staticpathrouteresolver
Site config static routes which support EXT: path prefix to e.g. allow per-site favicon with cms-composer-installers >=4
Installs: 4 144
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-backend: ^v11.5.10 || ^v12.4.0
- typo3/cms-core: ^v11.5.10 || ^v12.4.0
- typo3/cms-frontend: ^v11.5.10 || ^v12.4.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.19.0
- friendsofphp/php-cs-fixer: ^3.4.0
- helmich/typo3-typoscript-lint: ^3.1.0
- jangregor/phpstan-prophecy: ^1.0.0
- phpstan/extension-installer: ^1.1.0
- phpstan/phpstan: ^1.6.2
- roave/security-advisories: dev-latest
- saschaegerer/phpstan-typo3: ^1.1.2
- seld/jsonlint: ^1.9.0
- squizlabs/php_codesniffer: ^3.6.2
- ssch/typo3-rector: ^1
- typo3/tailor: ^1.5
README
EXT:staticpathrouteresolver
Site config static routes which support EXT: path prefix to e.g. allow per-site redirect of /favicon.ico
or /robots.txt
with
- TYPO3 11LTS using
typo3/cms-composer-installers
v4.0.0RC1
or with - TYPO3 12LTS
Installation
Either install
- via composer using
composer req jpmschuler/staticpathrouteresolver
- via TER (Extension Manager)
EXT:staticpathrouteresolver
How to use
Either configure the static routes in the site backend module or in your site config.yml
, use
routes:
-
route: favicon.ico
path: 'EXT:mysitepackage/Resources/Public/Icons/favicon.ico'
The core handler will ignore all routes without a specified type, we use that to not let core throw exceptions or interact on that config.