Official Laravel Zed Extension: PHP &amp; Blade LSP | Mohamed Said       [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://www.msaied.com/public) - [Home](https://www.msaied.com/public)
- [Projects](https://www.msaied.com/public/projects)
- [Articles](https://www.msaied.com/public/articles)
- [Certificates](https://www.msaied.com/public/certificates)
- [About](https://www.msaied.com/public#about)

           [  Contact](https://www.msaied.com/public#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://www.msaied.com/public)
- [ProjectsCase studies](https://www.msaied.com/public/projects)
- [ArticlesEngineering notes](https://www.msaied.com/public/articles)
- [CertificatesCredentials](https://www.msaied.com/public/certificates)
- [AboutHow I work](https://www.msaied.com/public#about)
- [ContactGet in touch](https://www.msaied.com/public#contact)

  [Start a conversation](https://www.msaied.com/public#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

 1. [Home](https://www.msaied.com/public)
2. /
3. [Articles](https://www.msaied.com/public/articles)
4. /
5. [Laravel](https://www.msaied.com/public/articles?category=laravel)
6. /
7. Official Laravel Zed Extension: LSP Support for PHP and Blade Files

   [Laravel](https://www.msaied.com/public/articles?category=laravel) [PHP](https://www.msaied.com/public/articles?category=php) 

 Official Laravel Zed Extension: LSP Support for PHP and Blade Files
====================================================================

 The Laravel team has released an official Zed extension (v0.1.0) that wires Laravel LSP into the editor, bringing completions, diagnostics, hover info, and code actions to PHP and Blade files.

 ![](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp) [Mohamed Said](https://www.msaied.com/public#person) Published 4 Aug 2026 · Updated 5 Aug 2026 · 3 min read

ShareCopy linkCopied

 ![Official Laravel Zed Extension: LSP Support for PHP and Blade Files](https://cdn.msaied.com/511/9a507c942d0051cc70a4c6769b27f734.png) 

  On this page +1. [Official Laravel Zed Extension Brings First-Party LSP Support](#official-laravel-zed-extension-brings-first-party-lsp-support)
2. [How to Install](#how-to-install)
3. [Configuration](#configuration)
4. [Official vs. Community Extension](#official-vs-community-extension)
5. [Editor Support Landscape](#editor-support-landscape)
6. [Key Takeaways](#key-takeaways)

 Official Laravel Zed Extension Brings First-Party LSP Support
-------------------------------------------------------------

The Laravel team published an official extension for the [Zed editor](https://zed.dev/extensions/laravel-official) on July 30, 2026. Version 0.1.0 landed in Zed's extension registry and connects **Laravel LSP** — the first-party language server announced at Laracon US 2026 — directly to the editor.

Once installed, you get the following LSP features in your PHP and Blade files:

- **Completions** for config keys, route names, view paths, translation strings, middleware, container bindings, Livewire components, and Inertia pages
- **Hover information** on Laravel-specific symbols
- **Diagnostics** that flag references to config keys, routes, or views that don't exist
- **Document links** and **code actions**

How to Install
--------------

Installation is straightforward. Open Zed's command palette and run `zed: extensions`, search for **Laravel (Official)**, and click **Install**. You do not need to install `laravel/lsp` separately — the extension downloads the language server binary automatically and checks for updates at most once every two hours.

Configuration
-------------

No configuration is required out of the box. If you need to pass initialization options to the server, add them under `lsp.laravel.initialization_options` in your Zed settings file:

```json
{
  "lsp": {
    "laravel": {
      "initialization_options": {
        "phpEnvironment": "sail"
      }
    }
  }
}

```

The `phpEnvironment` option tells the language server which PHP command to use when indexing your project. It defaults to `auto`, which probes Herd, Valet, Sail, Lando, DDEV, and then a locally installed PHP binary in that order. Every individual LSP feature can also be toggled through the same `initialization_options` object; the full reference is available in the [Laravel LSP GitHub repository](https://github.com/laravel/lsp).

Official vs. Community Extension
--------------------------------

This is not the only Laravel extension available for Zed. Mike Bronner's community Laravel extension remains actively developed and takes a fundamentally different approach:

| | Official (Laravel LSP) | Community | |---|---|---| | **How it works** | Runs PHP scripts inside your project to query the framework directly | Parses files with tree-sitter; never executes your application | | **Requires PHP env** | Yes (`phpEnvironment` option) | No | | **Framework awareness** | Deep (routes, views, config, bindings, etc.) | Static analysis only |

The community extension's README recommends against running both extensions simultaneously, so choose the one that best fits your workflow.

Editor Support Landscape
------------------------

With this release, Zed joins **Sublime Text**, **Cursor**, and the **Laravel VS Code extension** as editors with official Laravel LSP support. Neovim and OpenCode users can also point at the same language server binary with a few lines of configuration.

Key Takeaways
-------------

- The official Laravel Zed extension (v0.1.0) was released on July 30, 2026.
- It bundles and auto-updates the Laravel LSP binary — no separate install needed.
- Provides completions, hover info, diagnostics, document links, and code actions for PHP and Blade.
- The `phpEnvironment` setting controls which PHP runtime the server uses for project indexing.
- Avoid running it alongside the community Zed extension at the same time.
- The extension is MIT licensed; source is on [laravel/zed-extension](https://github.com/laravel/zed-extension).

---

*Source: [Official Laravel Zed Extension: LSP for PHP &amp; Blade — Laravel News](https://laravel-news.com/laravel-zed-extension)*

- [Laravel](https://www.msaied.com/public/articles?search=Laravel)
- [Zed](https://www.msaied.com/public/articles?search=Zed)
- [LSP](https://www.msaied.com/public/articles?search=LSP)
- [PHP](https://www.msaied.com/public/articles?search=PHP)
- [Blade](https://www.msaied.com/public/articles?search=Blade)
- [Developer Tools](https://www.msaied.com/public/articles?search=Developer%20Tools)

 Frequently asked questions 
---------------------------

  Do I need to install laravel/lsp separately to use the official Laravel Zed extension?No. The extension downloads the Laravel LSP binary automatically and checks for updates at most once every two hours, so no manual installation of the language server is required.

   Can I run the official Laravel Zed extension alongside the community Laravel extension for Zed?The community extension's README recommends against running both at the same time, as they take different approaches to providing Laravel intelligence. Pick the one that suits your workflow.

   What does the phpEnvironment option do in the Laravel Zed extension settings?It tells the language server which PHP runtime to use when indexing your project. The default value is 'auto', which tries Herd, Valet, Sail, Lando, DDEV, and then a local PHP binary in that order. You can set it explicitly to a value like 'sail' if needed.

   ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)About the author
----------------

[Mohamed Said](https://www.msaied.com/public#person)Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

[About](https://www.msaied.com/public#about) [GitHub ↗](https://github.com/EG-Mohamed) [LinkedIn ↗](https://www.linkedin.com/in/msaiedm/) [WhatsApp ↗](https://wa.me/201094619204) [Email Address ↗](mailto:hello@msaied.com) [My CV ↗](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)  

   [Previous articleLaravel Head: Manage Meta Tags, Open Graph, and JSON-LD in Laravel 13](https://www.msaied.com/public/articles/laravel-head-manage-meta-tags-open-graph-and-json-ld-in-laravel-13) [Next articleImage Dominant Color and HEIC Support in Laravel 13.24](https://www.msaied.com/public/articles/image-dominant-color-and-heic-support-in-laravel-1324)  

   On this page
-------------

1. [Official Laravel Zed Extension Brings First-Party LSP Support](#official-laravel-zed-extension-brings-first-party-lsp-support)
2. [How to Install](#how-to-install)
3. [Configuration](#configuration)
4. [Official vs. Community Extension](#official-vs-community-extension)
5. [Editor Support Landscape](#editor-support-landscape)
6. [Key Takeaways](#key-takeaways)

 ###  Have a technical challenge?

 Tell me what you’re building. I reply within two working days.

[Start a conversation](https://www.msaied.com/public#contact) 

   Related articles
-----------------

 [ ![](https://cdn.msaied.com/740/cce86edc21eddcbdd2f2454fadaf9c70.png)  · 3 min read### The Pipeline Pattern in Laravel: Custom Pipelines Beyond Middleware

5 Oct 2026 ](https://www.msaied.com/public/articles/the-pipeline-pattern-in-laravel-custom-pipelines-beyond-middleware-1) [ ![](https://cdn.msaied.com/739/2d6897fdcdcf090613f96f72a64b8a78.png)  · 4 min read### MySQL Full-Text Search in Laravel: Indexes, Relevance Scoring, and Boolean Mode

4 Oct 2026 ](https://www.msaied.com/public/articles/mysql-full-text-search-in-laravel-indexes-relevance-scoring-and-boolean-mode) [ ![](https://cdn.msaied.com/738/073696a3fefe18bec825beec5ac658f5.png)  · 4 min read### Laravel Queue Rate-Limited Middleware: Throttling Jobs Without Losing Work

4 Oct 2026 ](https://www.msaied.com/public/articles/laravel-queue-rate-limited-middleware-throttling-jobs-without-losing-work) 

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://www.msaied.com/public#contact) 

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://www.msaied.com/public)
- [Articles](https://www.msaied.com/public/articles)
- [Certificates](https://www.msaied.com/public/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://www.msaied.com/public/sitemap.xml)
