Download the PHP package nowo-tech/routing-kit-bundle without Composer
On this page you can find all versions of the php package nowo-tech/routing-kit-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nowo-tech/routing-kit-bundle
More information about nowo-tech/routing-kit-bundle
Files in nowo-tech/routing-kit-bundle
Package routing-kit-bundle
Short Description Symfony bundle for DB-driven locale routes, canonical URL styles, CRUD panel, and SeoKit compatibility.
License MIT
Homepage https://github.com/nowo-tech/RoutingKitBundle
Informations about the package routing-kit-bundle
Routing Kit Bundle
⭐ Found this useful? Install from Packagist · Give it a star on GitHub so more developers can find it.
Routing Kit Bundle — DB-driven (pluggable storage) locale paths for Symfony: dual /foo + /{locale}/foo access, admin-defined canonical URLs, Twig CRUD panel, route-cache invalidation, and SeoKitBundle path bridge. Tested on Symfony 7.4, 8.0, and 8.1 · PHP 8.2+ (Symfony 8.x requires PHP 8.4+).
This bundle is FrankenPHP worker mode friendly.
Features
- Storage — One row per
(routeName, locale); filesystem JSON by default; swap viaRoutePathStorageInterface. - Locales — YAML
default_locale+locales, or a customLocaleProviderInterface. - Canonical definition — Paths stored without
{_locale}; the loader always builds/{_locale}/…. - Styles —
canonical_style, trailing slash, alias mode (redirect/alias). - Fallback — Missing locale row → default-locale path for that route name.
#[Routable]— Controllers offered in the CRUD; params + constraints validated on save.- Loader —
type: nowo_routing_kitregisters{name}.{locale}with_canonical_route(import last). - Panel — Twig CRUD under
/_routing+ Symfony forms (FormKit + UiKit) for create/edit, export, import, and clear-cache actions (auto invalidation after save/delete). Protect withsecurity.access_roles(default[ROLE_ADMIN]) /allow_unauthenticated. - SeoKit — Optional bridge decorates
SeoPathBuilderInterfacefor canonical/hreflang paths.
Installation
With Symfony Flex, the recipe registers the bundle and adds config (see .symfony/recipe). Without Flex, see docs/INSTALLATION.md.
The loader registers {name}.{locale} with _canonical_route. Protect /_routing with your firewall.
Requirements
- PHP
>=8.2(<8.6); Symfony 8.0 and 8.1 require PHP 8.4+ - Symfony 7.4, 8.0, or 8.1
- Twig for the CRUD panel templates
Configuration
Usage
Open /_routing to manage paths. See docs/USAGE.md.
Development
Install git hooks once per clone: make setup-hooks (REQ-GIT-001).
Demos
Open http://localhost:8058 — panel at /_routing. FrankenPHP mode is controlled by FRANKENPHP_MODE (classic | worker, default worker) in the demo .env.
Documentation
- Installation
- Configuration
- PSR evaluation (REQ-CS-007)
- Usage
- Contributing
- Code of Conduct
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- Demo (FrankenPHP)
- GitHub Actions CI requirements
Tests and coverage
PHPUnit with 100% line coverage of production PHP under src/ (optional SeoKit bridge files excluded when SeoKit is not a require-dev dependency):
License
MIT
All versions of routing-kit-bundle with dependencies
nowo-tech/ui-kit-bundle Version ^1.4 || ^1.5 || ^1.7
php Version >=8.2 <8.6
symfony/form Version ^7.4 || ^8.0
symfony/config Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/event-dispatcher Version ^7.0 || ^8.0
symfony/finder Version ^7.0 || ^8.0
symfony/http-foundation Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/routing Version ^7.0 || ^8.0
symfony/security-core Version ^7.4 || ^8.0
symfony/security-csrf Version ^7.0 || ^8.0
symfony/yaml Version ^7.0 || ^8.0
twig/extra-bundle Version ^3.12
twig/string-extra Version ^3.12