Repository navigation
PHPlumb 0.4.0
🤖 This was written by an AI agent on behalf of @lussoluca (claude-code/claude-opus-5-5).
PHPlumb 0.4.0 adds Symfony support and follows code through PHP's built-in symbols, enums and generic types.
Symfony
The module turns on when the project's composer.lock requires symfony/framework-bundle. The new phplumb.frameworks.symfony setting forces it on or off.
- Routes. A route name in
redirectToRoute(),generateUrl()or Twigpath()andurl()opens its controller or its YAML route. - Templates. A template name in
render(),#[Template]or a Twig tag opens the Twig file, includingtwig.pathsnamespaces. - Messenger.
dispatch()lists the handlers of the message, and a handler lists the places that dispatch its message. - Parameters and YAML. A parameter name in
getParameter(),#[Autowire]or%x%opens its definition. Classes and@serviceids inconfig/YAML open theirs. - Doctrine.
*.orm.xmlmappings link to their classes and properties, andgetRepository(X::class)is typed as the entity's repository. - Broken references. Route, template and parameter names defined nowhere are flagged in PHP, Twig and YAML. A name stays silent when a source that could define it cannot be read.
PHP
- Built-in symbols. Functions, classes and constants such as
array_map()andDateTimeresolve from phpstorm stubs bundled with the extension. - Enums. Enum cases are typed as their enum, and enums get their implicit
UnitEnumandBackedEnuminterfaces. - Generics. PHPDoc templates and element types carry through
foreach, array access, array callbacks and generic classes.
Changed
- Each framework module reads only the folder of its own
composer.lock. A Drupal codebase inside a Symfony application gets each module in its own folder.
Install the .vsix for your platform with code --install-extension <file>. Requires VS Code 1.140 or later on macOS (Apple silicon) or Linux (x64).