omnibridge / twig
The small contract a page rendered with Twig asks of any framework (path, asset, trans), and the Twig extension that provides it where the framework does not.
1.x-dev
2026-10-18 00:28 UTC
Requires
- php: >=8.2
- twig/twig: ^3.10
Requires (Dev)
- phpunit/phpunit: ^11.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-18 00:29:12 UTC
README
The small contract a page rendered with Twig asks of any framework, so the same template renders under Symfony, Laravel or plain PHP (plan 0, rule 13: a screen is described once, a view bridge renders it).
Contract\Urls:path(name, parameters),asset(path)Contract\Translations:trans(id, parameters, domain, locale)on ICU cataloguesContractExtension: registerspath(),asset()and thetransfilter under the names Symfony gives them. Symfony already has them and does not register it; another framework registers it with its own answers to the contract.
Pilot: lesringostars' article screen (~/.claude/plans/lesringostars-deux-cadres.md).