PHPantom version
0.7.0
Installation method
Pre-built binary from GitHub Releases
Operating system
Linux x86_64
Editor
Neovim
Bug description
No FilamentPHP classes are detected, but they exist on the filesystem and Intelephense sees them just fine.
Because the app I'm working on is a hybrid of Laravel & old-school (e.g., pre-Composer existence), I have the indexer set to self.
Standard Laravel classes seem to be detected just fine. Only Filament thus far (I haven't tested Livewire).
Steps to reproduce
Install FilamentPHP 5.x and create anything with it.
Error output or panic trace
No errors that I can determine.
.phpantom.toml
# $schema: https://github.com/AJenbo/phpantom_lsp/raw/main/config-schema.json
[php]
# Override the detected PHP version (default: inferred from composer.json, or 8.5).
version = "8.4"
[diagnostics]
# Report member access on subjects whose type could not be resolved.
# Useful for discovering gaps in type coverage. Off by default.
# unresolved-member-access = true
[indexing]
# How PHPantom discovers classes across the workspace.
# "composer" (default) - use Composer classmap, self-scan on fallback
# "self" - always self-scan, ignore Composer classmap
# "none" - no proactive scanning, Composer classmap only
strategy = "self"
Additional context
This is a project for a client so I can't really share it.
Using Laravel 12, FilamentPHP 5 and PHP 8.4.
PHPantom version
0.7.0
Installation method
Pre-built binary from GitHub Releases
Operating system
Linux x86_64
Editor
Neovim
Bug description
No FilamentPHP classes are detected, but they exist on the filesystem and Intelephense sees them just fine.
Because the app I'm working on is a hybrid of Laravel & old-school (e.g., pre-Composer existence), I have the indexer set to
self.Standard Laravel classes seem to be detected just fine. Only Filament thus far (I haven't tested Livewire).
Steps to reproduce
Install FilamentPHP 5.x and create anything with it.
Error output or panic trace
.phpantom.toml
Additional context
This is a project for a client so I can't really share it.
Using Laravel 12, FilamentPHP 5 and PHP 8.4.