Skip to content

Add support for Symfony projects #56

@magalhaesmurilo

Description

@magalhaesmurilo

First of all. This is a really cool project. Thank you for all the effort! But i'm having some problems with class resolution.

While trying phpantom_lsp on a new Symfony project, the LSP can't resolve some classes. (See on the right. On the left is the same Project using PHPStorm's LSP working just fine)

Image

The weird thing is that on the same project and editor, some classes resolve correctly.

Image

Steps to reproduce:

Not really sure. I just created a new Symfony project following the Symfony Fast Track Book tutorial.

What i've tried so far:

  • Restarted the LSP Server
  • Cleared composer's cache
  • Dumped composer's autoload

Environment:

  • OS: MacOS 26.4
  • Editor/IDE: Visual Studio Code 1.113.0 (Universal)
  • PHP: 8.5.4 NTS
  • phpantom_lsp: 0.6.0 (aarch64-apple-darwin)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions