arkounay/twig-copy-location-bundle
--dev, it aligns with non-production use cases (e.g., developer tooling, IDE navigation). No runtime overhead in production.TwigEventSubscriber), allowing for customization (e.g., modifying displayed paths or adding metadata).symfony/debug-pack).^2.12|^3.0).APP_DEBUG=false), the bundle becomes a no-op. Requires explicit opt-in.APP_DEBUG=true.src/, templates/) and provide a path_resolver config option (if needed)../templates/) or absolute paths (e.g., /var/www/project/templates/)?find commands or IDE "Go to File" shortcuts)?APP_DEBUG=true in .env.symfony/debug-pack is installed (included in most Symfony dev setups).composer require --dev arkounay/twig-copy-location-bundle
config/packages/ setup required (auto-registers via Symfony’s autoloader).| Component | Version Support | Notes |
|---|---|---|
| Symfony | 7.x, 8.x | Confirmed via symfony/debug-pack:*. |
| PHP | 8.0+ | Hard requirement. |
| Twig | ^2.12, ^3.0 | Aligns with Symfony 7+/8.x. |
| DebugBundle | Latest (included in pack) | No conflicts expected. |
symfony/debug-pack (minor updates may require testing).grep for templates).APP_DEBUG=true.debug:config and debug:router commands.| Scenario | Impact | Mitigation |
|---|---|---|
APP_DEBUG=false |
Feature disabled | Document as dev-only. |
| Custom Twig loader | Paths may be incorrect | Test with project’s loader setup. |
| Symfony/Twig major version bump | Compatibility break | Pin versions in composer.json. |
| DebugToolbar conflicts | UI rendering issues | Test with other DebugBundle tools. |
APP_DEBUG=true in .env.CONTRIBUTING.md or team wiki.How can I help you explore Laravel packages today?