| PHP-GTK3 SyntaxProvides PHP-GTK3 syntax support and a ready-to-use stub file for Intelephense in VS Code, plus a command to copy it into your workspace. Features
📄 Includes a complete phpgtk3_stubs.phpwith all GTK3 classes, methods and constants🚀 Command “PHP-GTK3 Syntax: Copy Stub File into Workspace” to install the stub in your project root✅ Enables autocomplete, static analysis and error checking for PHP-GTK3 projects RequirementsInstallation
Download the latest .vsixfrom the releases page.In VS Code press F1 → Extensions: Install from VSIX... → select the file.Reload the window when prompted. Usage
Open your PHP-GTK3 project folder in VS Code.Press F1 and run PHP-GTK3 Syntax: Copy Stub File into Workspace.A file phpgtk3_stubs.phpis copied into your workspace root.Add it to Intelephense’s include paths: // .vscode/settings.json
{
  "intelephense.environment.includePaths": [
    "./phpgtk3_stubs.php"
  ]
}
Now VS Code will autocomplete and type-check all PHP-GTK3 symbols. Commands
| Command | Description |  
| PHP-GTK3 Syntax: Copy Stub File into Workspace | Copies phpgtk3_stubs.phpinto project root |  Extension SettingsThis extension contributes no custom settings. Release Notes1.0.0
Initial releaseFull stub generation for all GTK3 classes, methods & constantsAdds static & instance method overloads to satisfy Intelephense Known Issues
If you regenerate your own stubs, you must overwrite phpgtk3_stubs.phpmanually or re-run the copy command.Intelephense caching may require reloading the window after updating the stub. Contributing
Fork the repository.Generate or update phpgtk3_stubs.phpin root.Modify extension.jsor packaging files as needed.Update README.mdand bump version inpackage.json.Submit a pull request. LicenseMIT © Robert Beran |  |