{"id":46557753,"url":"https://github.com/shinyvision/vimfony","last_synced_at":"2026-03-07T05:07:00.768Z","repository":{"id":310735602,"uuid":"1041012882","full_name":"shinyvision/vimfony","owner":"shinyvision","description":"Symfony integration in Neovim","archived":false,"fork":false,"pushed_at":"2025-11-27T17:49:08.000Z","size":282,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T09:47:11.361Z","etag":null,"topics":["go","language-server","lsp","neovim","php","symfony","twig","vim","xml","yaml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shinyvision.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-19T21:07:45.000Z","updated_at":"2025-11-27T17:49:08.000Z","dependencies_parsed_at":"2025-11-29T22:00:34.195Z","dependency_job_id":null,"html_url":"https://github.com/shinyvision/vimfony","commit_stats":null,"previous_names":["shinyvision/vimfony"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shinyvision/vimfony","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyvision%2Fvimfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyvision%2Fvimfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyvision%2Fvimfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyvision%2Fvimfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinyvision","download_url":"https://codeload.github.com/shinyvision/vimfony/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinyvision%2Fvimfony/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","language-server","lsp","neovim","php","symfony","twig","vim","xml","yaml"],"created_at":"2026-03-07T05:07:00.140Z","updated_at":"2026-03-07T05:07:00.756Z","avatar_url":"https://github.com/shinyvision.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/shinyvision/vimfony/main/.github/assets/vimfony_sm.png\" alt=\"Vimfony Logo\"\u003e\n\u003c/p\u003e\n\nThis is a language server that adds Symfony integration in Neovim. It is the missing **Vim / Neovim Symfony plugin**. (totally added that for SEO reasons)\n\nIf you find a bug or want a feature, you can create an issue or a PR. I’ll probably take a look at it.\nWe finally have several autocomplete features working in Vimfony!\n\n## Features\n- `gd` Twig templates with @Bundle support\n- `gd` Twig functions\n- `gd` class from within yaml / xml files\n- `gd` service definitions for example @service_container\n- Autocomplete service names (works in yaml, xml and autoconfigure php attributes)\n- Autocomplete Twig functions\n- Autocomplete Twig variables\n- Autocomplete route names and parameters in Twig files and PHP files\n- Support for Composer’s autoload_classmap for more complete autoloading\n- Support for multiple xml files in container_xml_path, for example in [Sulu](https://github.com/sulu/sulu) projects\n- Autocomplete Twig files: works in php, twig and yaml (if the key is equal to ‘template’)\n- `gd` routes\n- Autocomplete translations (only YAML)\n- `gd` translations (only YAML)\n\n## Planned features\nThese features are not yet implemented but would be useful:\n(feel free to create a PR if you want to contribute)\n- Autocomplete form options\n- `gd` Twig components\n- Version checker \u0026 updater (`vimfony update`)\n\n### Coming up\nYou can get these features if you build from source:\n- Generate getters \u0026 setters (PHPStorm-style)\n\n## How to use\nYou can [download a release](https://github.com/shinyvision/vimfony/releases) for your OS and CPU or build from source:\n```bash\ngit clone https://github.com/shinyvision/vimfony.git\ncd vimfony\ngo build\n```\n\nAnd then move the `vimfony` binary to somewhere in your $PATH\n\nConfigure LSP (Neovim):\n```lua\nlocal git_root = vim.fs.root(0, \".git\")\n\nif git_root ~= nil then\n  vim.lsp.config('vimfony', {\n    cmd = { \"vimfony\" },\n    filetypes = { \"php\", \"twig\", \"yaml\", \"xml\" }, -- You can remove file types if you don't like it, but then it won't work in those files\n    root_markers = { \".git\" },\n    single_file_support = true,\n    init_options = {\n      roots = { \"templates\" },\n      container_xml_path = (git_root .. \"/var/cache/dev/App_KernelDevDebugContainer.xml\"),\n      -- OR:\n      -- container_xml_path = {\n      --   (git_root .. \"/var/cache/dev/App_KernelDevDebugContainer.xml\"),\n      --   (git_root .. \"/var/cache/website/dev/App_KernelDevDebugContainer.xml\"),\n      --   (git_root .. \"/var/cache/admin/dev/App_KernelDevDebugContainer.xml\"),\n      -- },\n      vendor_dir = git_root .. \"/vendor\",\n      -- Optional:\n      -- php_path = \"/usr/bin/php\",\n    },\n  })\n  vim.lsp.enable('vimfony')\nend\n```\n\nIf you use this project and like what it does, then please **give it a star** on Github.\n\nPS. I highly recommend purchasing a license for [Intelephense](https://intelephense.com/). It’s worth your 25 bucks.\n\n## Finally\nI have no idea if this works for VSCode. I have never used VSCode, but I’ve heard it uses language servers in the same way as Neovim. Maybe it’ll work, maybe it won’t.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinyvision%2Fvimfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinyvision%2Fvimfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinyvision%2Fvimfony/lists"}