Official Laravel Zed Extension: PHP &amp; Blade LSP | Mohamed Said        [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://msaied.com) [ Home ](https://msaied.com) [ Projects ](https://msaied.com/projects) [ Articles  ](https://msaied.com/articles) [ Certificates ](https://msaied.com/certificates) [ Contact ](https://msaied.com#contact-section) 

       [  ](https://github.com/EG-Mohamed)       

 [ Home ](https://msaied.com) [ Projects ](https://msaied.com/projects) [ Articles ](https://msaied.com/articles) [ Certificates ](https://msaied.com/certificates) [ Contact ](https://msaied.com#contact-section) 

  [ home ](https://msaied.com)    [ articles ](https://msaied.com/articles)    Official Laravel Zed Extension: LSP Support for PHP and Blade Files        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: LSP Support for PHP and Blade Files](https://cdn.msaied.com/511/9a507c942d0051cc70a4c6769b27f734.png)

 [  Laravel ](https://msaied.com/articles?category=laravel) [  PHP ](https://msaied.com/articles?category=php)  #Laravel   #Zed   #LSP   #PHP   #Blade   #Developer Tools  

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

     4 Aug 2026      3 min read    ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MJ.jpg)  Mohamed Said  

       Table of contents

1. [  01   Official Laravel Zed Extension Brings First-Party LSP Support  ](#official-laravel-zed-extension-brings-first-party-lsp-support)
2. [  02   How to Install  ](#how-to-install)
3. [  03   Configuration  ](#configuration)
4. [  04   Official vs. Community Extension  ](#official-vs-community-extension)
5. [  05   Editor Support Landscape  ](#editor-support-landscape)
6. [  06   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)*

 Found this useful?

          [  ](https://twitter.com/intent/tweet?url=https%3A%2F%2Fmsaied.com%2Farticles%2Fofficial-laravel-zed-extension-lsp-support-for-php-and-blade-files&text=Official+Laravel+Zed+Extension%3A+LSP+Support+for+PHP+and+Blade+Files) [  ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fmsaied.com%2Farticles%2Fofficial-laravel-zed-extension-lsp-support-for-php-and-blade-files) 

 Frequently Asked Questions 
----------------------------

  3 questions  

     Q01  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. 

      Q02  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. 

      Q03  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. 

  Continue reading

 More Articles 
---------------

 [ View all    ](https://msaied.com/articles) 

 [ ![Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD in Laravel 13](https://cdn.msaied.com/512/4b4bedfc34f26b38c69fed3a3b5813e9.png) Laravel SEO Open Graph 

### Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD in Laravel 13

Laravel Head is a new first-party package that gives you a fluent API for titles, meta descriptions, Open Grap...

  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MJ.jpg)  Mohamed Said 

 4 Aug 2026     4 min read  

  Read    

 ](https://msaied.com/articles/laravel-head-manage-meta-tags-open-graph-and-json-ld-in-laravel-13) [ ![PostgreSQL CTEs, Window Functions, and Lateral Joins in Laravel](https://cdn.msaied.com/506/7d5fcddaf6c26c87a749a20b8bdffbfa.png) laravel postgresql sql 

### PostgreSQL CTEs, Window Functions, and Lateral Joins in Laravel

Go beyond basic Eloquent queries. Learn how to leverage PostgreSQL CTEs, window functions, and LATERAL joins d...

  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MJ.jpg)  Mohamed Said 

 4 Aug 2026     1 min read  

  Read    

 ](https://msaied.com/articles/postgresql-ctes-window-functions-and-lateral-joins-in-laravel-4) [ ![Laravel Doctor: Diagnose Your Laravel App With One Artisan Command](https://cdn.msaied.com/513/2550bf2c87d0df242beb6ed7fe4df5d5.png) Laravel Artisan Health Checks 

### Laravel Doctor: Diagnose Your Laravel App With One Artisan Command

Laravel Doctor, announced at Laracon US 2026, adds an `artisan doctor` command that runs comprehensive health...

  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MJ.jpg)  Mohamed Said 

 3 Aug 2026     4 min read  

  Read    

 ](https://msaied.com/articles/laravel-doctor-diagnose-your-laravel-app-with-one-artisan-command-1) 

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

Explore

- [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [Contact](https://msaied.com#contact-section)

Connect

- [   hello@msaied.com ](mailto:hello@msaied.com)
- [   +20 109 461 9204 ](tel:+201094619204)

© 2026 Mohamed Said. All rights reserved.

 [  ](https://github.com/EG-Mohamed) [  ](https://www.linkedin.com/in/msaiedm/) [  ](https://wa.me/201094619204) [  ](mailto:hello@msaied.com) [  ](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
