{"id":48817927,"url":"https://github.com/php-lsp/language-server","last_synced_at":"2026-04-14T12:35:04.104Z","repository":{"id":344591548,"uuid":"1100732884","full_name":"php-lsp/language-server","owner":"php-lsp","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-15T21:13:16.000Z","size":965,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"lsp","last_synced_at":"2026-03-16T01:18:29.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/php-lsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"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-11-20T17:17:15.000Z","updated_at":"2026-03-15T19:21:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/php-lsp/language-server","commit_stats":null,"previous_names":["php-lsp/language-server"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/php-lsp/language-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-lsp%2Flanguage-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-lsp%2Flanguage-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-lsp%2Flanguage-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-lsp%2Flanguage-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-lsp","download_url":"https://codeload.github.com/php-lsp/language-server/tar.gz/refs/heads/lsp","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-lsp%2Flanguage-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31797375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-04-14T12:35:03.510Z","updated_at":"2026-04-14T12:35:04.095Z","avatar_url":"https://github.com/php-lsp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/php-lsp\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/153323085?s=120\" width=\"120\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/php-lsp/language-server/actions/workflows/coverage.yml\"\u003e\u003cimg src=\"https://github.com/php-lsp/language-server/raw/master/.github/coverage-badge.svg\" alt=\"Code Coverage\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About Language Server Protocol\n\n\u003e [ALARM] This is not the final version!\n\n---\n\nLSP is a protocol for interaction with a client using the JSON-RPC 2.0 codec, \nwhere arbitrary editors and IDEs act as clients.\n\nThe protocol is supported by many clients, such as:\n\n**Most Popular Editors:**\n- [VSCode](https://code.visualstudio.com/)\n- [Vim (Neovim)](https://neovim.io/)\n- [Atom](https://atom.io/)\n- [Brackets](https://brackets.io/)\n- [Lapce](https://lap.dev/lapce/)\n- [GigaIDE Cloud](https://gitverse.ru/features/gigaide/cloud/)\n- [JetBrains Fleet](https://www.jetbrains.com/fleet/)\n- [Sublime](https://github.com/sublimelsp/LSP)\n- *...etc*\n\n**Most Popular IDE:**\n- [JetBrains (PhpStorm, IDEA, RustRover, GoLand, etc)](https://www.jetbrains.com/)\n- [GigaIDE Desktop](https://gitverse.ru/features/gigaide/desktop/)\n- [Eclipse](https://www.eclipse.org/)\n- [Emacs](https://www.gnu.org/software/emacs/)\n- [QT Creator](https://www.qt.io/product/development-tools)\n- [RAD Studio](https://www.embarcadero.com/products/rad-studio)\n- [Visual Studio](https://marketplace.visualstudio.com/items?itemName=vsext.LanguageServerClientPreview)\n- *...etc*\n\nThis project gives you the opportunity to write your own plugins for any\neditor or IDE using the PHP language!\n\n## GitHub Codespaces\n\nYou can start the project instantly in a browser — no local installation\nrequired.\n\n1. Click **Code → Codespaces → Create codespace on main** on the GitHub\n   repository page.\n2. Wait for the container to build (PHP 8.4, Composer, and npm dependencies\n   install automatically).\n3. Start the server in the terminal:\n   ```shell\n   php ./bin/lsp serve 'App\\Application' --port=5007\n   ```\n4. The bundled VS Code extension connects to the running server automatically.\n\nSee [docs/codespaces.md](docs/codespaces.md) for detailed setup instructions,\ntroubleshooting, and manual connection steps.\n\n## Installation\n\n```shell\n# create an extension application\ncomposer create-project php-lsp/skeleton -s dev\n\n# allow build script to run (required once)\nchmod +x bin/build\n```\n\n## Running Server\n\n### Run From Sources\n\n```shell\nphp ./bin/lsp serve App\\\\Application --port=5007\n```\n\n### Run From Code\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$app = new \\App\\Application('dev', true);\n$app-\u003elisten('tcp://127.0.0.1:5007');\n```\n\n### Run PHAR Assembly\n\n```shell\ncomposer build:run:local\n```\n\n### Run Binary Assembly\n\n```shell\ncomposer build:run\n```\n\n## Building Server\n\n### Building PHAR Assembly\n\n```shell\n# build assembly\ncomposer build\n\n# list of assemblies\nls -la ./var/prod/\n```\n\n### Building Binary Assembly\n\n```shell\n# install dependencies (only needs to be called once)\ncomposer build:prepare\n\n# build assembly\ncomposer build\n\n# list of assemblies\nls -la ./var/prod/\n```\n\n## Running Extension Client\n\nPlease note that these are just extension examples. \nUnification of the assembly without code (JS, Java, C#, etc) modification \nwill come later, perhaps.\n\n### VSCode\n\nSee [client/vscode/package.json](client/vscode/package.json) to modify \nthe configuration.\n\n1) Build and run editor:\n    ```shell\n    # move to vscode workspace\n    cd client/vscode\n    \n    # install dependencies\n    npm install\n    \n    # run client\n    code .\n    ```\n2) Then press `F5` (in editor) to run extension\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-lsp%2Flanguage-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-lsp%2Flanguage-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-lsp%2Flanguage-server/lists"}