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

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

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

  [ home ](https://www.msaied.com)    [ articles ](https://www.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://www.msaied.com/articles?category=laravel) [  PHP ](https://www.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%2Fwww.msaied.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%2Fwww.msaied.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://www.msaied.com/articles) 

 [ ![Saga Lara Flow: Durable Workflows and Compensating Transactions on Laravel Queues](https://cdn.msaied.com/520/d77bd3c0cecb6fb89c16f85648e7e369.png) Laravel Workflows Saga Pattern 

### Saga Lara Flow: Durable Workflows and Compensating Transactions on Laravel Queues

Saga Lara Flow is a Laravel package that lets you write long-running business processes as plain PHP methods o...

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

 7 Aug 2026     4 min read  

  Read    

 ](https://www.msaied.com/articles/saga-lara-flow-durable-workflows-and-compensating-transactions-on-laravel-queues) [ ![Filament v4.12 & v5.7: Major Performance Improvements and Security Patches](https://cdn.msaied.com/518/48e5a4da1b38d6cf27a0117baa547e1b.png) Filament Laravel Performance 

### Filament v4.12 &amp; v5.7: Major Performance Improvements and Security Patches

Filament v4.12.6 and v5.7.6 ship massive rendering speed gains—up to 92% faster form fields—alongside security...

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

 6 Aug 2026     1 min read  

  Read    

 ](https://www.msaied.com/articles/filament-v412-v57-major-performance-improvements-and-security-patches) [ ![Managed Queues: Autoscaling Queue Workers on Laravel Cloud](https://cdn.msaied.com/519/854099015015dbc72dd8743202b69efc.png) Laravel Cloud Queue Workers Autoscaling 

### Managed Queues: Autoscaling Queue Workers on Laravel Cloud

Laravel Cloud's managed queues feature autoscales workers based on queue pressure, surfaces failed jobs in a r...

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

 6 Aug 2026     3 min read  

  Read    

 ](https://www.msaied.com/articles/managed-queues-autoscaling-queue-workers-on-laravel-cloud) 

   [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://www.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://www.msaied.com)
- [Projects](https://www.msaied.com/projects)
- [Articles](https://www.msaied.com/articles)
- [Certificates](https://www.msaied.com/certificates)
- [Contact](https://www.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)
